aphrodite::multiboot2

Struct RawMemoryMap

Source
#[repr(C)]
pub struct RawMemoryMap { pub tag_type: u32, pub tag_len: u32, pub entry_size: u32, pub entry_version: u32, pub sections: [MemorySection], }
Expand description

The raw memory map provided by a Multiboot2 bootloader. This is interpreted into a MemoryMap.

Fields§

§tag_type: u32

The type of the tag.

§tag_len: u32

The length of the tag.

§entry_size: u32

Size of one entry(one MemorySection for Aphrodite)

§entry_version: u32

The version of the memory map. Should be disregarded as it’s 0.

§sections: [MemorySection]

The sections. This is the reason that [Clone] can’t be implemented for RawMemoryMap.

Auto Trait Implementations§

§

impl Freeze for RawMemoryMap

§

impl RefUnwindSafe for RawMemoryMap

§

impl Send for RawMemoryMap

§

impl !Sized for RawMemoryMap

§

impl Sync for RawMemoryMap

§

impl Unpin for RawMemoryMap

§

impl UnwindSafe for RawMemoryMap

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more