]>
Commit | Line | Data |
---|---|---|
fb3df220 | 1 | /** @file\r |
2 | Entry point to the DXE 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 | |
18 | //\r | |
19 | // Declare the cache of copy of HobList. \r | |
20 | // \r | |
21 | extern VOID *gHobList;\r | |
22 | \r | |
23 | \r | |
24 | /**\r | |
25 | Enrty point to DXE core.\r | |
26 | \r | |
27 | @param HobStart Pointer of HobList.\r | |
28 | \r | |
29 | **/\r | |
30 | VOID\r | |
31 | EFIAPI\r | |
32 | _ModuleEntryPoint (\r | |
33 | IN VOID *HobStart\r | |
34 | );\r | |
35 | \r | |
36 | \r | |
37 | /**\r | |
38 | Wrapper of enrty point to DXE CORE.\r | |
39 | \r | |
40 | @param HobStart Pointer of HobList.\r | |
41 | \r | |
42 | **/\r | |
43 | VOID\r | |
44 | EFIAPI\r | |
45 | EfiMain (\r | |
46 | IN VOID *HobStart\r | |
47 | );\r | |
48 | \r | |
49 | \r | |
50 | /**\r | |
51 | Call constructs for all libraries. Automatics Generated by tool.\r | |
52 | \r | |
53 | @param ImageHandle ImageHandle of the loaded driver.\r | |
54 | @param SystemTable Pointer to the EFI System Table.\r | |
55 | \r | |
56 | **/\r | |
57 | VOID\r | |
58 | EFIAPI\r | |
59 | ProcessLibraryConstructorList (\r | |
60 | IN EFI_HANDLE ImageHandle,\r | |
61 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
62 | );\r | |
63 | \r | |
64 | /**\r | |
65 | Call destructors for all libraries. Automatics Generated by tool.\r | |
66 | \r | |
67 | @param ImageHandle ImageHandle of the loaded driver.\r | |
68 | @param SystemTable Pointer to the EFI System Table.\r | |
69 | \r | |
70 | **/\r | |
71 | VOID\r | |
72 | EFIAPI\r | |
73 | ProcessLibraryDestructorList (\r | |
74 | IN EFI_HANDLE ImageHandle,\r | |
75 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
76 | );\r | |
77 | \r | |
78 | /**\r | |
79 | Call the list of driver entry points. Automatics Generated by tool.\r | |
80 | \r | |
81 | @param HobStart Pointer to HobList.\r | |
82 | \r | |
83 | **/\r | |
84 | VOID\r | |
85 | EFIAPI\r | |
86 | ProcessModuleEntryPointList (\r | |
87 | IN VOID *HobStart\r | |
88 | );\r | |
89 | \r | |
90 | #endif\r |