Crate linux_boot_params

Source
Expand description

The definition of Linux Boot Protocol boot_params struct.

The bootloader will deliver the address of the BootParams struct as the argument of the kernel entrypoint. So we must define a Linux ABI compatible struct in Rust, despite that most of the fields are currently not needed by Asterinas.

Structs§

ApmBiosInfo
BootE820Entry
BootParams
Linux 32/64-bit Boot Protocol parameter struct.
EddDeviceParams
EddInfo
EdidInfo
EfiInfo
IstInfo
OlpcOfwHeader
ScreenInfo
SetupHeader
Linux Boot Protocol header.
SysDescTable

Enums§

E820Type
The E820 types known to the kernel.

Constants§

LINUX_BOOT_HEADER_MAGIC
Magic stored in the boot protocol header.