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

Framebuffer helpers. More...

Classes

class  BootTextWriter
 BootKit Text Writer class Writes to UEFI StdOut. More...
class  BootFileReader
 BootKit File Reader class Reads the Firmware Boot partition and filesystem. More...
class  BVersionString
 Bootloader Version String. More...
class  BDiskFormatFactory
 Provide some useful processor features. More...
class  BootThread
 Bootloader Thread class. 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)
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 ()
 Halt and clear interrut flag on x86.
Void ExitBootServices (UInt64 MapKey, EfiHandlePtr ImageHandle)
 Exit EFI API to let the OS load correctly. Bascially frees everything we have in the EFI side.
UInt32 Platform ()

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 )
inline

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

◆ Platform()

UInt32 Boot::Platform ( )
inline

◆ rt_jump_to_address()

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

◆ Stop()

Void Boot::Stop ( )
inline

Halt and clear interrut flag on x86.

Returns

◆ ThrowError()

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