OpenCore
1.0.4
OpenCore Bootloader
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
#include <Library/PcdLib.h>
15
16
//
17
// Cache copy of HobList pointer.
18
//
19
VOID *
gHobList
= NULL;
20
33
VOID
34
EFIAPI
35
_ModuleEntryPointReal
(
36
IN VOID *HobStart
37
)
38
{
39
//
40
// Cache a pointer to the HobList
41
//
42
gHobList
= HobStart;
43
44
//
45
// Call the DXE Core entry point
46
//
47
ProcessModuleEntryPointList (HobStart);
48
49
//
50
// Should never return
51
//
52
ASSERT
(FALSE);
53
CpuDeadLoop ();
54
}
55
64
VOID
65
EFIAPI
66
EfiMain
(
67
IN VOID *HobStart
68
)
69
{
70
_ModuleEntryPoint
(HobStart);
71
}
EfiMain
VOID EFIAPI EfiMain(IN VOID *HobStart)
Definition
DxeCoreEntryPoint.c:66
gHobList
VOID * gHobList
Definition
DxeCoreEntryPoint.c:19
_ModuleEntryPointReal
VOID EFIAPI _ModuleEntryPointReal(IN VOID *HobStart)
Definition
DxeCoreEntryPoint.c:35
_ModuleEntryPoint
EFI_STATUS EFIAPI _ModuleEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition
CanaryDummy.c:40
ASSERT
#define ASSERT(x)
Definition
coder.h:55
Library
OcDxeCoreEntryPoint
DxeCoreEntryPoint.c
Generated by
1.12.0