]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Library/DxeCoreEntryPoint.h
Initial import.
[mirror_edk2.git] / MdePkg / Include / Library / DxeCoreEntryPoint.h
CommitLineData
878ddf1f 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
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/**\r
66 Call the list of driver entry points. Automatics Generated by tool.\r
67\r
68 @param HobStart Pointer to HobList.\r
69 \r
70**/\r
71VOID\r
72EFIAPI\r
73ProcessModuleEntryPointList (\r
74 IN VOID *HobStart\r
75 );\r
76\r
77#endif\r