Struct stivale_boot::v1::StivaleHeader[][src]

#[repr(C)]
pub struct StivaleHeader { /* fields omitted */ }

Implementations

Sets the requested framebuffer width. Only parsed if a graphics mode is requested. If set to zero, the bootloader would pick the best possible video mode automatically (recommended).

Sets the requested framebuffer height. Only parsed if a graphics mode is requested. If set to zero, the bootloader would pick the best possible video mode automatically (recommended).

Sets the requested framebuffer bpp. Only parsed if a graphics mode is requested. If set to zero, the bootloader would pick the best possible video mode automatically (recommended).

Sets the provided stivale header flags. See the documentation of StivaleHeaderFlags for more information.

Sets the stack pointer which will be in ESP/RSP when the kernel is loaded. It can only be set to NULL for 64-bit kernels. 32-bit kernels are mandated to provide a vaild stack. 64-bit and 32-bit valid stacks must be at least 256 bytes in usable space and must be 16 byte aligned addresses.

Sets the entry point address. If not zero, the bootloader would jump to the specified entry point instead of jumping to the entry point specified the kernel ELF.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.