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