TianoCore EDK2
master
Loading...
Searching...
No Matches
DxeCoreEntryPoint.c
Go to the documentation of this file.
1
9
#include <
PiDxe.h
>
10
11
#include <
Library/DxeCoreEntryPoint.h
>
12
#include <
Library/DebugLib.h
>
13
#include <
Library/BaseLib.h
>
14
15
//
16
// Cache copy of HobList pointer.
17
//
18
VOID *
gHobList
=
NULL
;
19
32
VOID
33
EFIAPI
34
_ModuleEntryPoint
(
35
IN
VOID *HobStart
36
)
37
{
38
//
39
// Cache a pointer to the HobList
40
//
41
gHobList
= HobStart;
42
43
//
44
// Call the DXE Core entry point
45
//
46
ProcessModuleEntryPointList
(HobStart);
47
48
//
49
// Should never return
50
//
51
ASSERT (
FALSE
);
52
CpuDeadLoop
();
53
}
54
63
VOID
64
EFIAPI
65
EfiMain
(
66
IN
VOID *HobStart
67
)
68
{
69
_ModuleEntryPoint
(HobStart);
70
}
BaseLib.h
CpuDeadLoop
VOID EFIAPI CpuDeadLoop(VOID)
Definition:
CpuDeadLoop.c:25
_ModuleEntryPoint
VOID EFIAPI _ModuleEntryPoint(IN VOID *HobStart)
Definition:
DxeCoreEntryPoint.c:34
EfiMain
VOID EFIAPI EfiMain(IN VOID *HobStart)
Definition:
DxeCoreEntryPoint.c:65
gHobList
VOID * gHobList
Definition:
DxeCoreEntryPoint.c:18
DxeCoreEntryPoint.h
ProcessModuleEntryPointList
VOID EFIAPI ProcessModuleEntryPointList(IN VOID *HobStart)
NULL
#define NULL
Definition:
Base.h:319
FALSE
#define FALSE
Definition:
Base.h:307
IN
#define IN
Definition:
Base.h:279
DebugLib.h
PiDxe.h
MdePkg
Library
DxeCoreEntryPoint
DxeCoreEntryPoint.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6