#[repr(u32)]pub enum E820Type {
Ram = 1,
Reserved = 2,
Acpi = 3,
Nvs = 4,
Unusable = 5,
Pmem = 7,
Pram = 12,
SoftReserved = 4_026_531_839,
ReservedKern = 128,
}
Expand description
The E820 types known to the kernel.
Originally defined in the linux source tree:
linux/arch/x86/include/asm/e820/types.h
Variants§
Ram = 1
Reserved = 2
Acpi = 3
Nvs = 4
Unusable = 5
Pmem = 7
Pram = 12
SoftReserved = 4_026_531_839
ReservedKern = 128
Trait Implementations§
impl Copy for E820Type
impl Eq for E820Type
impl StructuralPartialEq for E820Type
Auto Trait Implementations§
impl Freeze for E820Type
impl RefUnwindSafe for E820Type
impl Send for E820Type
impl Sync for E820Type
impl Unpin for E820Type
impl UnwindSafe for E820Type
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