]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/OldPeiCoreEntryPoint/PeiCoreEntryPoint.c
remove some comments introduced by tools.
[mirror_edk2.git] / MdePkg / Library / OldPeiCoreEntryPoint / 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/OldPeiCoreEntryPoint.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 EFI_STATUS
48 EFIAPI
49 _ModuleEntryPoint(
50 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor
51 )
52 {
53 return ProcessModuleEntryPointList (PeiStartupDescriptor, NULL);
54 }
55
56
57 /**
58
59 Wrapper of enrty point to PEI core.
60
61 @param SecCoreData Points to a data structure containing
62 information about the PEI core's
63 operating environment, such as the size
64 and location of temporary RAM, the stack
65 location and the BFV location. The type
66 EFI_SEC_PEI_HAND_OFF is
67
68 @param PpiList Points to a list of one or more PPI
69 descriptors to be installed initially by
70 the PEI core. An empty PPI list consists
71 of a single descriptor with the end-tag
72 EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.
73 As part of its initialization phase, the
74 PEI Foundation will add these SEC-hosted
75 PPIs to its PPI database such that both
76 the PEI Foundation and any modules can
77 leverage the associated service calls
78 and/or code in these early PPIs.
79
80 **/
81 EFI_STATUS
82 EFIAPI
83 EfiMain (
84 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor
85 )
86 {
87 return _ModuleEntryPoint (PeiStartupDescriptor);
88 }