Expand description

Constants, Structs and Utilities to setup boot environment for virtual machines.

Modules

Guest boot parameters used for config guest information.

Magic addresses externally used to lay out x86_64 VMs.

Structure definitions for SMP machines following the Intel Multiprocessing Specification 1.1 and 1.4. Structure definitions for SMP machines following the Intel Multiprocessing Specification 1.1 and 1.4.

MP Table configurations used for defining VM boot status. MP Table configurations used for defining VM boot status.

Structs

Boot parameters wrapper for ByteValue trait

Type for passing information about the initrd in the guest memory.

Enums

Errors thrown while configuring x86_64 system.

Constants

Default (smallest) memory page size for the supported architectures.

Functions

Add an e820 region to the e820 map. Returns Ok(()) if successful, or an error if there is no space left in the map.

Get information to configure GDT/IDT.

Returns the memory address where the kernel could be loaded.

Returns the memory address where the initrd could be loaded.

Initialize the 1:1 identity mapping table for guest memory range [0..1G).

Type Definitions

Specialized std::result::Result for boot related operations.