NeKernel dev
Loading...
Searching...
No Matches
Boot Namespace Reference

Framebuffer helpers. More...

Classes

class  BDiskFormatFactory
 Provide some useful processor features. More...
class  BootFileReader
 BootKit File Reader class Reads the Firmware Boot partition and filesystem. More...
class  BootTextWriter
 BootKit Text Writer class Writes to UEFI StdOut. More...
class  BootThread
 Bootloader Thread class. More...
class  BVersionString
 Bootloader Version String. More...

Typedefs

typedef CharPEFImagePtr
typedef CharPEImagePtr
typedef WideChar CharacterTypeUTF16
typedef Char CharacterTypeASCII
typedef char8_t CharacterTypeUTF8
typedef UInt8BlobType

Functions

void ThrowError (const WideChar *errorCode, const WideChar *reason) noexcept
Kernel::SizeT BCopyMem (CharacterTypeUTF16 *dest, CharacterTypeUTF16 *src, const Kernel::SizeT len)
 BUGS: 0.
Kernel::SizeT BSetMem (CharacterTypeASCII *src, const CharacterTypeASCII byte, const Kernel::SizeT len)
Kernel::SizeT BStrLen (const CharacterTypeUTF16 *ptr)
 String length functions.
Kernel::SizeT BSetMem (CharacterTypeUTF16 *src, const CharacterTypeUTF16 byte, const Kernel::SizeT len)
 set memory with custom value.
EXTERN_C Int32 rt_jump_to_address (VoidPtr code, HEL::BootInfoHeader *handover, UInt8 *stack)
Void Stop () noexcept
 Halt and clear interrut flag on x86.
Void ExitBootServices (UInt64 MapKey, EfiHandlePtr ImageHandle) noexcept
 Exit EFI API to let the OS load correctly. Bascially frees everything we have in the EFI side.
UInt32 Platform () noexcept

Detailed Description

Framebuffer helpers.

Note
BootThread doesn't parse the symbols so doesn't nullify them, .bss is though.

Typedef Documentation

◆ BlobType

◆ CharacterTypeASCII

◆ CharacterTypeUTF16

◆ CharacterTypeUTF8

◆ PEFImagePtr

◆ PEImagePtr

Function Documentation

◆ BCopyMem()

Kernel::SizeT Boot::BCopyMem ( CharacterTypeUTF16 * dest,
CharacterTypeUTF16 * src,
const Kernel::SizeT len )

BUGS: 0.

◆ BSetMem() [1/2]

Kernel::SizeT Boot::BSetMem ( CharacterTypeASCII * src,
const CharacterTypeASCII byte,
const Kernel::SizeT len )

◆ BSetMem() [2/2]

Kernel::SizeT Boot::BSetMem ( CharacterTypeUTF16 * src,
const CharacterTypeUTF16 byte,
const Kernel::SizeT len )

set memory with custom value.

◆ BStrLen()

Kernel::SizeT Boot::BStrLen ( const CharacterTypeUTF16 * ptr)

String length functions.

get string length.

◆ ExitBootServices()

Void Boot::ExitBootServices ( UInt64 MapKey,
EfiHandlePtr ImageHandle )
inlinenoexcept

Exit EFI API to let the OS load correctly. Bascially frees everything we have in the EFI side.

◆ Platform()

UInt32 Boot::Platform ( )
inlinenoexcept

◆ rt_jump_to_address()

EXTERN_C Int32 Boot::rt_jump_to_address ( VoidPtr code,
HEL::BootInfoHeader * handover,
UInt8 * stack )

◆ Stop()

Void Boot::Stop ( )
inlinenoexcept

Halt and clear interrut flag on x86.

Returns

◆ ThrowError()

void Boot::ThrowError ( const WideChar * errorCode,
const WideChar * reason )
inlinenoexcept