]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.c
remove some comments introduced by tools.
[mirror_edk2.git] / MdePkg / Library / PeiCoreEntryPoint / PeiCoreEntryPoint.c
CommitLineData
e386b444 1/** @file\r
2 Entry point to a the PEI Core.\r
3\r
c7d265a9 4Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
e386b444 5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
c892d846 15\r
c7d265a9 16#include <PiPei.h>\r
c892d846 17\r
c7d265a9 18//\r
19// The Library classes this module produced\r
20//\r
21#include <Library/PeiCoreEntryPoint.h>\r
e386b444 22\r
23/**\r
c7d265a9 24\r
e386b444 25 Enrty point to PEI core.\r
26\r
27 @param SecCoreData Points to a data structure containing\r
28 information about the PEI core's\r
29 operating environment, such as the size\r
30 and location of temporary RAM, the stack\r
31 location and the BFV location. The type\r
32 EFI_SEC_PEI_HAND_OFF is\r
33\r
34 @param PpiList Points to a list of one or more PPI\r
35 descriptors to be installed initially by\r
36 the PEI core. An empty PPI list consists\r
37 of a single descriptor with the end-tag\r
38 EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
39 As part of its initialization phase, the\r
40 PEI Foundation will add these SEC-hosted\r
41 PPIs to its PPI database such that both\r
42 the PEI Foundation and any modules can\r
43 leverage the associated service calls\r
44 and/or code in these early PPIs.\r
45\r
46**/\r
c7d265a9 47VOID\r
48EFIAPI \r
49_ModuleEntryPoint(\r
50 IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData,\r
51 IN CONST EFI_PEI_PPI_DESCRIPTOR *PpiList\r
52)\r
e386b444 53{\r
c7d265a9 54 ProcessModuleEntryPointList (SecCoreData, PpiList, NULL);\r
e386b444 55}\r
56\r
57\r
58/**\r
c7d265a9 59 \r
e386b444 60 Wrapper of enrty point to PEI core.\r
c7d265a9 61 \r
e386b444 62 @param SecCoreData Points to a data structure containing\r
63 information about the PEI core's\r
64 operating environment, such as the size\r
65 and location of temporary RAM, the stack\r
66 location and the BFV location. The type\r
67 EFI_SEC_PEI_HAND_OFF is\r
68\r
69 @param PpiList Points to a list of one or more PPI\r
70 descriptors to be installed initially by\r
71 the PEI core. An empty PPI list consists\r
72 of a single descriptor with the end-tag\r
73 EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
74 As part of its initialization phase, the\r
75 PEI Foundation will add these SEC-hosted\r
76 PPIs to its PPI database such that both\r
77 the PEI Foundation and any modules can\r
78 leverage the associated service calls\r
79 and/or code in these early PPIs.\r
80\r
81**/\r
c7d265a9 82VOID\r
83EFIAPI\r
e386b444 84EfiMain (\r
c7d265a9 85 IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData,\r
86 IN CONST EFI_PEI_PPI_DESCRIPTOR *PpiList\r
e386b444 87 )\r
88{\r
c7d265a9 89 _ModuleEntryPoint (SecCoreData, PpiList);\r
e386b444 90}\r