Skip to main content

PhysHandoff

Struct PhysHandoff 

Source
#[repr(C)]
pub struct PhysHandoff {
Show 27 fields pub magic: u64, pub times: PhysBootTimes, pub init_array: __BindgenOpaqueArray8<[u8; 16]>, pub vmars: __BindgenOpaqueArray8<[u8; 16]>, pub temporary_vmar: __BindgenOpaqueArray8<[u8; 8]>, pub physmap_base: usize, pub physmap_size: usize, pub zbi: PhysVmo, pub vdso: PhysElfImage, pub userboot: PhysElfImage, pub extra_vmos: __BindgenOpaqueArray8<[u8; 16]>, pub entropy_pool: __BindgenOpaqueArray<[u8; 33]>, pub arch_handoff: ArchPhysHandoff, pub memory: __BindgenOpaqueArray8<[u8; 16]>, pub cpu_topology: __BindgenOpaqueArray8<[u8; 16]>, pub crashlog: PhysHandoffTemporaryString, pub nvram: __BindgenOpaqueArray8<[u8; 16]>, pub platform_id: Optional<zbi_platform_id_t>, pub acpi_rsdp: Optional<u64>, pub smbios_phys: Optional<u64>, pub efi_memory_attributes: __BindgenOpaqueArray8<[u8; 16]>, pub efi_system_table: Optional<u64>, pub uart: uart_all_Driver, pub uart_mmio: MappedMmioRange, pub mmio_deny: __BindgenOpaqueArray8<[u8; 16]>, pub periph_ranges: __BindgenOpaqueArray8<[u8; 16]>, pub heap_vmar: __BindgenOpaqueArray8<[u8; 72]>,
}

Fields§

§magic: u64§times: PhysBootTimes§init_array: __BindgenOpaqueArray8<[u8; 16]>§vmars: __BindgenOpaqueArray8<[u8; 16]>§temporary_vmar: __BindgenOpaqueArray8<[u8; 8]>§physmap_base: usize§physmap_size: usize§zbi: PhysVmo§vdso: PhysElfImage§userboot: PhysElfImage§extra_vmos: __BindgenOpaqueArray8<[u8; 16]>§entropy_pool: __BindgenOpaqueArray<[u8; 33]>§arch_handoff: ArchPhysHandoff§memory: __BindgenOpaqueArray8<[u8; 16]>§cpu_topology: __BindgenOpaqueArray8<[u8; 16]>§crashlog: PhysHandoffTemporaryString§nvram: __BindgenOpaqueArray8<[u8; 16]>§platform_id: Optional<zbi_platform_id_t>§acpi_rsdp: Optional<u64>§smbios_phys: Optional<u64>§efi_memory_attributes: __BindgenOpaqueArray8<[u8; 16]>§efi_system_table: Optional<u64>§uart: uart_all_Driver§uart_mmio: MappedMmioRange§mmio_deny: __BindgenOpaqueArray8<[u8; 16]>§periph_ranges: __BindgenOpaqueArray8<[u8; 16]>§heap_vmar: __BindgenOpaqueArray8<[u8; 72]>

Implementations§

Source§

impl PhysHandoff

Source

pub fn get() -> &'static Self

Auto Trait Implementations§

§

impl Freeze for PhysHandoff

§

impl RefUnwindSafe for PhysHandoff

§

impl Send for PhysHandoff

§

impl Sync for PhysHandoff

§

impl Unpin for PhysHandoff

§

impl UnsafeUnpin for PhysHandoff

§

impl UnwindSafe for PhysHandoff

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
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = !

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.