NeKernel dev
Loading...
Searching...
No Matches
BootEFI.cc File Reference

Macros

#define kExpectedWidth   (800)
#define kExpectedHeight   (600)

Functions

EXTERN_C Void rt_reset_hardware ()
STATIC Bool boot_init_fb ()
 Finds and stores the GOP object.
EFI_EXTERN_C EFI_API Int32 BootloaderMain (EfiHandlePtr image_handle, EfiSystemTable *sys_table)
 BootloaderMain EFI entrypoint.

Variables

STATIC EfiGraphicsOutputProtocolkGop = nullptr
STATIC UInt16 kGopStride = 0U
STATIC EFI_GUID kGopGuid
EXTERN EfiBootServicesBS

Macro Definition Documentation

◆ kExpectedHeight

#define kExpectedHeight   (600)

◆ kExpectedWidth

#define kExpectedWidth   (800)

Function Documentation

◆ boot_init_fb()

STATIC Bool boot_init_fb ( )

Finds and stores the GOP object.

◆ BootloaderMain()

EFI_EXTERN_C EFI_API Int32 BootloaderMain ( EfiHandlePtr image_handle,
EfiSystemTable * sys_table )

BootloaderMain EFI entrypoint.

Parameters
image_handleHandle of this image.
sys_tableThe system table of it.
Returns
nothing, never returns.

! Init the EFI library.

◆ rt_reset_hardware()

EXTERN_C Void rt_reset_hardware ( )

Variable Documentation

◆ BS

◆ kGop

Graphics related.

◆ kGopGuid

STATIC EFI_GUID kGopGuid

◆ kGopStride

STATIC UInt16 kGopStride = 0U