]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Library/DxeCoreEntryPoint.h
Synchronization of MDE Library Spec., Mde.dec, and corresponding head files in MdePkg...
[mirror_edk2.git] / MdePkg / Include / Library / DxeCoreEntryPoint.h
... / ...
CommitLineData
1/** @file\r
2 Module entry point library for DXE core.\r
3\r
4Copyright (c) 2006 - 2008, Intel Corporation\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/// Global variable that contains a pointer to the Hob List passed into the DXE Core entry point. \r
20/// \r
21extern 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
30VOID\r
31EFIAPI\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
43VOID\r
44EFIAPI\r
45EfiMain (\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
57VOID\r
58EFIAPI\r
59ProcessLibraryConstructorList (\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
71VOID\r
72EFIAPI\r
73ProcessLibraryDestructorList (\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
84VOID\r
85EFIAPI\r
86ProcessModuleEntryPointList (\r
87 IN VOID *HobStart\r
88 );\r
89\r
90#endif\r