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