pub struct BootRegs {
pub kernel_load_addr: u64,
pub fdt_addr: u64,
pub pstate: u64,
}Expand description
The four register values written at boot for vCPU 0 (and via PSCI CPU_ON for
secondaries).
Fields§
§kernel_load_addr: u64Kernel entry point (PC).
fdt_addr: u64FDT base address (placed in X0 per arm64/booting.rst).
pstate: u64PSTATE — defaults to BOOT_PSTATE.
Implementations§
Trait Implementations§
impl Copy for BootRegs
impl Eq for BootRegs
impl StructuralPartialEq for BootRegs
Auto Trait Implementations§
impl Freeze for BootRegs
impl RefUnwindSafe for BootRegs
impl Send for BootRegs
impl Sync for BootRegs
impl Unpin for BootRegs
impl UnsafeUnpin for BootRegs
impl UnwindSafe for BootRegs
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