]>
Commit | Line | Data |
---|---|---|
878ddf1f | 1 | /** @file\r |
2 | Entry point to the PEI Core\r | |
3 | \r | |
4 | Copyright (c) 2006, Intel Corporation<BR>\r | |
5 | All rights reserved. This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT 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 | |
26 | EFI_STATUS\r | |
27 | EFIAPI\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 | |
40 | EFI_STATUS\r | |
41 | EFIAPI\r | |
42 | EfiMain (\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 | |
53 | VOID\r | |
54 | EFIAPI\r | |
55 | ProcessLibraryConstructorList (\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 | |
70 | EFI_STATUS\r | |
71 | EFIAPI\r | |
72 | ProcessModuleEntryPointList (\r | |
73 | IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,\r | |
74 | IN VOID *OldCoreData\r | |
75 | );\r | |
76 | \r | |
77 | #endif\r |