Struct stivale_boot::v1::StivaleMemoryMapEntry[][src]

#[repr(C)]
pub struct StivaleMemoryMapEntry { pub base: u64, pub length: u64, pub entry_type: StivaleMemoryMapEntryType, // some fields omitted }

Fields

base: u64

Physical address of base of the memory section.

length: u64

Length of this memory section.

entry_type: StivaleMemoryMapEntryType

The type of this memory map entry.

Implementations

Returns the end address of this memory region.

Returns the entry type of this memory region. External function is required as reference the entry_type packed field is not aligned.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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.