#[repr(C)]pub struct SMPResponse {
pub revision: u64,
pub flags: u32,
pub bsp_lapic_id: u32,
pub cpu_count: u64,
pub cpus: *const *const SMPInfo,
}Expand description
Response to [SMPRequest]
Fields§
§revision: u64The response revision number
flags: u32Flags for the bootloader
Bit 0 - X2APIC has been enabled
bsp_lapic_id: u32The boot processor’s local APIC ID
cpu_count: u64The amount of CPUs available
cpus: *const *const SMPInfoA pointer to an array of SMPInfo
Implementations§
Source§impl SMPResponse
impl SMPResponse
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SMPResponse
impl RefUnwindSafe for SMPResponse
impl !Send for SMPResponse
impl !Sync for SMPResponse
impl Unpin for SMPResponse
impl UnwindSafe for SMPResponse
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