]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Include/Library/ShellCEntryLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ShellPkg / Include / Library / ShellCEntryLib.h
1 /** @file
2 Provides application point extension for "C" style main function.
3
4 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef _SHELL_C_ENTRY_LIB_
10 #define _SHELL_C_ENTRY_LIB_
11
12 /**
13 UEFI application entry point which has an interface similar to a
14 standard C main function.
15
16 The ShellCEntryLib library instance wrappers the actual UEFI application
17 entry point and calls this ShellAppMain function.
18
19 @param[in] Argc The number of parameters.
20 @param[in] Argv The array of pointers to parameters.
21
22 @retval 0 The application exited normally.
23 @retval Other An error occurred.
24
25 **/
26 INTN
27 EFIAPI
28 ShellAppMain (
29 IN UINTN Argc,
30 IN CHAR16 **Argv
31 );
32
33 #endif
34