]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Library/DxeCoreEntryPoint.h
Make MDE package pass intel IPF compiler with /W4 /WX switched on.
[mirror_edk2.git] / MdePkg / Include / Library / DxeCoreEntryPoint.h
1 /** @file
2 Entry point to the DXE Core
3
4 Copyright (c) 2006, Intel Corporation<BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef __MODULE_ENTRY_POINT_H__
16 #define __MODULE_ENTRY_POINT_H__
17
18 //
19 // Declare the cache of copy of HobList.
20 //
21 extern VOID *gHobList;
22
23
24 /**
25 Enrty point to DXE core.
26
27 @param HobStart Pointer of HobList.
28
29 **/
30 VOID
31 EFIAPI
32 _ModuleEntryPoint (
33 IN VOID *HobStart
34 );
35
36
37 /**
38 Wrapper of enrty point to DXE CORE.
39
40 @param HobStart Pointer of HobList.
41
42 **/
43 VOID
44 EFIAPI
45 EfiMain (
46 IN VOID *HobStart
47 );
48
49
50 /**
51 Call constructs for all libraries. Automatics Generated by tool.
52
53 @param ImageHandle ImageHandle of the loaded driver.
54 @param SystemTable Pointer to the EFI System Table.
55
56 **/
57 VOID
58 EFIAPI
59 ProcessLibraryConstructorList (
60 IN EFI_HANDLE ImageHandle,
61 IN EFI_SYSTEM_TABLE *SystemTable
62 );
63
64 /**
65 Call destructors for all libraries. Automatics Generated by tool.
66
67 @param ImageHandle ImageHandle of the loaded driver.
68 @param SystemTable Pointer to the EFI System Table.
69
70 **/
71 VOID
72 EFIAPI
73 ProcessLibraryDestructorList (
74 IN EFI_HANDLE ImageHandle,
75 IN EFI_SYSTEM_TABLE *SystemTable
76 );
77
78 /**
79 Call the list of driver entry points. Automatics Generated by tool.
80
81 @param HobStart Pointer to HobList.
82
83 **/
84 VOID
85 EFIAPI
86 ProcessModuleEntryPointList (
87 IN VOID *HobStart
88 );
89
90 #endif