TianoCore EDK2 master
Loading...
Searching...
No Matches
DxeCoreEntryPoint.c
Go to the documentation of this file.
1
9#include <PiDxe.h>
10
12#include <Library/DebugLib.h>
13#include <Library/BaseLib.h>
14
15//
16// Cache copy of HobList pointer.
17//
18VOID *gHobList = NULL;
19
32VOID
33EFIAPI
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 //
47
48 //
49 // Should never return
50 //
51 ASSERT (FALSE);
52 CpuDeadLoop ();
53}
54
63VOID
64EFIAPI
66 IN VOID *HobStart
67 )
68{
69 _ModuleEntryPoint (HobStart);
70}
VOID EFIAPI CpuDeadLoop(VOID)
Definition: CpuDeadLoop.c:25
VOID EFIAPI _ModuleEntryPoint(IN VOID *HobStart)
VOID EFIAPI EfiMain(IN VOID *HobStart)
VOID * gHobList
VOID EFIAPI ProcessModuleEntryPointList(IN VOID *HobStart)
#define NULL
Definition: Base.h:319
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279