#[repr(C)]pub struct LinuxEfiMemreserve {
pub size: i32,
pub count: i32,
pub next: u64,
}Expand description
Empty root of Linux’s EFI persistent memory reservation list.
The EFI stub installs this header before entering the kernel. Linux appends page-sized entries as drivers reserve memory that must survive kexec.
Fields§
§size: i32Number of reservation slots in this list node.
count: i32Number of populated reservation slots.
next: u64Guest physical address of the next list node, or zero.
Trait Implementations§
Source§impl Clone for LinuxEfiMemreserve
impl Clone for LinuxEfiMemreserve
Source§fn clone(&self) -> LinuxEfiMemreserve
fn clone(&self) -> LinuxEfiMemreserve
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinuxEfiMemreserve
impl Debug for LinuxEfiMemreserve
Source§impl Default for LinuxEfiMemreserve
impl Default for LinuxEfiMemreserve
Source§fn default() -> LinuxEfiMemreserve
fn default() -> LinuxEfiMemreserve
Returns the “default value” for a type. Read more
Source§impl IntoBytes for LinuxEfiMemreserve
impl IntoBytes for LinuxEfiMemreserve
Source§impl KnownLayout for LinuxEfiMemreservewhere
u64: KnownLayout,
impl KnownLayout for LinuxEfiMemreservewhere
u64: KnownLayout,
Source§type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self. Read more§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Computes the size of an object of type
Self with the given pointer
metadata. Read moreimpl Copy for LinuxEfiMemreserve
impl Immutable for LinuxEfiMemreserve
Auto Trait Implementations§
impl Freeze for LinuxEfiMemreserve
impl RefUnwindSafe for LinuxEfiMemreserve
impl Send for LinuxEfiMemreserve
impl Sync for LinuxEfiMemreserve
impl Unpin for LinuxEfiMemreserve
impl UnsafeUnpin for LinuxEfiMemreserve
impl UnwindSafe for LinuxEfiMemreserve
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more