19#define __BOOTKIT_NO_INCLUDE__ 1
48 ST->BootServices->ExitBootServices(ImageHandle, MapKey);
61 ST->ConOut->OutputString(
ST->ConOut, L
"\r*** STOP ***\r");
63 ST->ConOut->OutputString(
ST->ConOut, L
"*** ERROR: ");
64 ST->ConOut->OutputString(
ST->ConOut, ErrorCode);
66 ST->ConOut->OutputString(
ST->ConOut, L
" ***\r *** REASON: ");
67 ST->ConOut->OutputString(
ST->ConOut, Reason);
69 ST->ConOut->OutputString(
ST->ConOut, L
" ***\r");
76 if (!SystemTable)
return;
79 BS =
ST->BootServices;
EfiSystemTable * ST
Definition API.h:25
void fw_init_efi(EfiSystemTable *SystemTable)
Definition API.h:75
Bootloader Application Programming Interface.
EXTERN EfiBootServices * BS
External boot services symbol.
Definition BootThread.cc:21
WideChar EfiCharType
Definition EFI.h:63
struct EfiHandle * EfiHandlePtr
Core Handle Kind Self is like NT's Win32 HANDLE type.
The handover boot protocol.
#define kPeMachineAMD64
Definition PE.h:24
Framebuffer helpers.
Definition BootKit.h:42
void ThrowError(const WideChar *errorCode, const WideChar *reason)
Definition API.h:60
UInt32 Platform()
Definition API.h:51
Void ExitBootServices(UInt64 MapKey, EfiHandlePtr ImageHandle)
Exit EFI API to let the OS load correctly. Bascially frees everything we have in the EFI side.
Definition API.h:45
Void Stop()
Halt and clear interrut flag on x86.
Definition API.h:34
void Void
Definition Config.h:87
__UINT32_TYPE__ UInt32
Definition Config.h:44
__UINT64_TYPE__ UInt64
Definition Config.h:48
The Structure that they give you when booting.
Definition EFI.h:627