]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004 - 2006, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | \r | |
13 | Module Name:\r | |
14 | \r | |
15 | EdkIIGluePeimEntryPoint.h\r | |
16 | \r | |
17 | Abstract: \r | |
18 | \r | |
19 | Public header file for PEIM Entry Point Lib\r | |
20 | \r | |
21 | --*/\r | |
22 | \r | |
23 | #ifndef __EDKII_GLUE_PEIM_ENTRY_POINT_H__\r | |
24 | #define __EDKII_GLUE_PEIM_ENTRY_POINT_H__\r | |
25 | \r | |
26 | //\r | |
27 | // Declare the EFI/UEFI Specification Revision to which this driver is implemented \r | |
28 | //\r | |
29 | extern const UINT32 _gPeimRevision;\r | |
30 | \r | |
31 | /**\r | |
32 | Image entry point of Peim.\r | |
33 | \r | |
34 | @param FfsHeader Pointer to FFS header the loaded driver.\r | |
35 | @param PeiServices Pointer to the PEI services.\r | |
36 | \r | |
37 | @return Status returned by entry points of Peims.\r | |
38 | \r | |
39 | **/\r | |
40 | EFI_STATUS\r | |
41 | EFIAPI\r | |
42 | _ModuleEntryPoint (\r | |
43 | IN EFI_FFS_FILE_HEADER *FfsHeader,\r | |
44 | IN EFI_PEI_SERVICES **PeiServices\r | |
45 | );\r | |
46 | \r | |
47 | \r | |
48 | /**\r | |
49 | Wrapper of Peim image entry point.\r | |
50 | \r | |
51 | @param FfsHeader Pointer to FFS header the loaded driver.\r | |
52 | @param PeiServices Pointer to the PEI services.\r | |
53 | \r | |
54 | @return Status returned by entry points of Peims.\r | |
55 | \r | |
56 | **/\r | |
57 | EFI_STATUS\r | |
58 | EFIAPI\r | |
59 | EfiMain (\r | |
60 | IN EFI_FFS_FILE_HEADER *FfsHeader,\r | |
61 | IN EFI_PEI_SERVICES **PeiServices\r | |
62 | );\r | |
63 | \r | |
64 | \r | |
65 | /**\r | |
66 | Call constructs for all libraries. Automatics Generated by tool.\r | |
67 | \r | |
68 | @param FfsHeader Pointer to FFS header the loaded driver.\r | |
69 | @param PeiServices Pointer to the PEI services.\r | |
70 | \r | |
71 | **/\r | |
72 | VOID\r | |
73 | EFIAPI\r | |
74 | ProcessLibraryConstructorList (\r | |
75 | IN EFI_FFS_FILE_HEADER *FfsHeader,\r | |
76 | IN EFI_PEI_SERVICES **PeiServices\r | |
77 | );\r | |
78 | \r | |
79 | \r | |
80 | /**\r | |
81 | Call destructors for all libraries. Automatics Generated by tool.\r | |
82 | \r | |
83 | @param FfsHeader Pointer to FFS header the loaded driver.\r | |
84 | @param PeiServices Pointer to the PEI services.\r | |
85 | \r | |
86 | **/\r | |
87 | VOID\r | |
88 | EFIAPI\r | |
89 | ProcessLibraryDestructorList (\r | |
90 | IN EFI_FFS_FILE_HEADER *FfsHeader,\r | |
91 | IN EFI_PEI_SERVICES **PeiServices\r | |
92 | );\r | |
93 | \r | |
94 | \r | |
95 | /**\r | |
96 | Call the list of driver entry points. Automatics Generated by tool.\r | |
97 | \r | |
98 | @param FfsHeader Pointer to FFS header the loaded driver.\r | |
99 | @param PeiServices Pointer to the PEI services.\r | |
100 | \r | |
101 | @return Status returned by entry points of drivers. \r | |
102 | \r | |
103 | **/\r | |
104 | EFI_STATUS\r | |
105 | EFIAPI\r | |
106 | ProcessModuleEntryPointList (\r | |
107 | IN EFI_FFS_FILE_HEADER *FfsHeader,\r | |
108 | IN EFI_PEI_SERVICES **PeiServices\r | |
109 | );\r | |
110 | \r | |
111 | #endif\r |