]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Library/OldPeiCoreEntryPoint.h
Enable Nt32 platform boot to DXE phase.
[mirror_edk2.git] / MdePkg / Include / Library / OldPeiCoreEntryPoint.h
CommitLineData
2e7a663d 1/** @file\r
2 Entry point to the PEI Core\r
3\r
4Copyright (c) 2006, Intel Corporation<BR>\r
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
15#ifndef __MODULE_ENTRY_POINT_H__\r
16#define __MODULE_ENTRY_POINT_H__\r
17\r
18/**\r
19\r
20 Enrty point to PEI core.\r
21\r
22 @param SecCoreData Points to a data structure containing\r
23 information about the PEI core's\r
24 operating environment, such as the size\r
25 and location of temporary RAM, the stack\r
26 location and the BFV location. The type\r
27 EFI_SEC_PEI_HAND_OFF is\r
28\r
29 @param PpiList Points to a list of one or more PPI\r
30 descriptors to be installed initially by\r
31 the PEI core. An empty PPI list consists\r
32 of a single descriptor with the end-tag\r
33 EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST.\r
34 As part of its initialization phase, the\r
35 PEI Foundation will add these SEC-hosted\r
36 PPIs to its PPI database such that both\r
37 the PEI Foundation and any modules can\r
38 leverage the associated service calls\r
39 and/or code in these early PPIs.\r
40\r
41**/\r
42EFI_STATUS\r
43EFIAPI\r
44_ModuleEntryPoint (\r
45 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor\r
46 );\r
47\r
48/**\r
49 Wrapper of enrty point to PEI core.\r
50\r
51 @param PeiStartupDescriptor Pointer of start up information.\r
52 \r
53 @return Status returned by entry points of core and drivers. \r
54\r
55**/\r
56EFI_STATUS\r
57EFIAPI\r
58EfiMain (\r
59 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor\r
60 );\r
61\r
62/**\r
63 Call constructs for all libraries. Automatics Generated by tool.\r
64\r
65 @param FfsHeader Pointer to header of FFS.\r
66 @param PeiServices Pointer to the PEI Services Table.\r
67\r
68**/\r
69VOID\r
70EFIAPI\r
71ProcessLibraryConstructorList (\r
72 IN EFI_FFS_FILE_HEADER *FfsHeader,\r
73 IN EFI_PEI_SERVICES **PeiServices\r
74 );\r
75\r
76\r
77/**\r
78 Call the list of driver entry points. Automatics Generated by tool.\r
79\r
80 @param PeiStartupDescriptor Pointer to startup information .\r
81 @param OldCoreData Pointer to Original startup information.\r
82\r
83 @return Status returned by entry points of drivers. \r
84 \r
85**/\r
86EFI_STATUS\r
87EFIAPI\r
88ProcessModuleEntryPointList (\r
89 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,\r
90 IN VOID *OldCoreData\r
91 );\r
92\r
93#endif\r