NeKernel dev
Loading...
Searching...
No Matches
Handover.h File Reference

The handover boot protocol. More...

#include <FirmwareKit/EFI/EFI.h>
#include <NeKit/Config.h>

Go to the source code of this file.

Classes

struct  Kernel::HEL::BootInfoHeader

Namespaces

namespace  Kernel
 UPS inline definitions.
namespace  Kernel::HEL

Macros

#define kHandoverMagic   (0xBADCC)
#define kHandoverVersion   (0x0117)
#define kHandoverBitMapSz   (gib_cast(4))
#define kHandoverStructSz   sizeof(HEL::BootInfoHeader)

Typedefs

typedef Int32(* Kernel::HEL::HandoverProc) (BootInfoHeader *boot_info)
 Alias of bootloader main type.

Enumerations

enum  {
  Kernel::HEL::kTypeKernel = 100 , Kernel::HEL::kTypeKernelDriver = 101 , Kernel::HEL::kTypeRsrc = 102 , Kernel::HEL::kTypeInvalid = 103 ,
  Kernel::HEL::kTypeCount = 4
}
 The executable type enum. More...
enum  { Kernel::HEL::kArchAMD64 = 122 , Kernel::HEL::kArchARM64 = 123 , Kernel::HEL::kArchRISCV = 124 , Kernel::HEL::kArchCount = 3 }
 The executable architecture enum. More...
enum  { Kernel::HEL::kHandoverTableBS , Kernel::HEL::kHandoverTableST , Kernel::HEL::kHandoverTableCount }

Variables

Kernel::HEL::BootInfoHeaderkHandoverHeader = nullptr
 Bootloader information header global variable.

Detailed Description

The handover boot protocol.

Author
Amlal El Mahrouss (amlal.nosp@m.@nek.nosp@m.ernel.nosp@m..org)
Version
1.15
Date
2024-02-23

Macro Definition Documentation

◆ kHandoverBitMapSz

#define kHandoverBitMapSz   (gib_cast(4))

◆ kHandoverMagic

#define kHandoverMagic   (0xBADCC)

◆ kHandoverStructSz

#define kHandoverStructSz   sizeof(HEL::BootInfoHeader)

◆ kHandoverVersion

#define kHandoverVersion   (0x0117)

Variable Documentation

◆ kHandoverHeader

Kernel::HEL::BootInfoHeader* kHandoverHeader = nullptr
inline

Bootloader information header global variable.