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//
19VOID *gHobList = NULL;
20
33VOID
34EFIAPI
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
64VOID
65EFIAPI
67 IN VOID *HobStart
68 )
69{
70 _ModuleEntryPoint (HobStart);
71}
VOID EFIAPI EfiMain(IN VOID *HobStart)
VOID * gHobList
VOID EFIAPI _ModuleEntryPointReal(IN VOID *HobStart)
EFI_STATUS EFIAPI _ModuleEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition CanaryDummy.c:40
#define ASSERT(x)
Definition coder.h:55