]> git.proxmox.com Git - mirror_edk2.git/blame - OldMdePkg/Include/Library/PeiCoreEntryPoint.h
Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing...
[mirror_edk2.git] / OldMdePkg / Include / Library / PeiCoreEntryPoint.h
CommitLineData
878ddf1f 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
58251024 18/**\r
19 Enrty point to PEI core.\r
20\r
21 @param PeiStartupDescriptor Pointer of start up information.\r
22 \r
23 @return Status returned by entry points of core and drivers. \r
24\r
25**/\r
26EFI_STATUS\r
27EFIAPI\r
28_ModuleEntryPoint (\r
29 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor\r
30 );\r
31\r
32/**\r
33 Wrapper of enrty point to PEI core.\r
34\r
35 @param PeiStartupDescriptor Pointer of start up information.\r
36 \r
37 @return Status returned by entry points of core and drivers. \r
38\r
39**/\r
40EFI_STATUS\r
41EFIAPI\r
42EfiMain (\r
43 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor\r
44 );\r
878ddf1f 45\r
46/**\r
47 Call constructs for all libraries. Automatics Generated by tool.\r
48\r
49 @param FfsHeader Pointer to header of FFS.\r
50 @param PeiServices Pointer to the PEI Services Table.\r
51\r
52**/\r
53VOID\r
54EFIAPI\r
55ProcessLibraryConstructorList (\r
56 IN EFI_FFS_FILE_HEADER *FfsHeader,\r
57 IN EFI_PEI_SERVICES **PeiServices\r
58 );\r
59\r
60\r
61/**\r
62 Call the list of driver entry points. Automatics Generated by tool.\r
63\r
64 @param PeiStartupDescriptor Pointer to startup information .\r
65 @param OldCoreData Pointer to Original startup information.\r
66\r
67 @return Status returned by entry points of drivers. \r
68 \r
69**/\r
70EFI_STATUS\r
71EFIAPI\r
72ProcessModuleEntryPointList (\r
73 IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,\r
74 IN VOID *OldCoreData\r
75 );\r
76\r
77#endif\r