Struct stivale_boot::v2::StivaleSmpTag [−][src]
#[repr(C)]pub struct StivaleSmpTag {
pub header: StivaleTagHeader,
pub flags: StivaleSmpHeaderTagFlags,
pub bsp_lapic_id: u32,
pub unused: u32,
pub cpu_count: u64,
pub smp_info_array: [StivaleSmpInfo; 0],
}
Fields
header: StivaleTagHeader
flags: StivaleSmpHeaderTagFlags
bsp_lapic_id: u32
LAPIC ID of the BSP (bootstrap processor).
unused: u32
Stivale specification says that this field is reserved for future use.
cpu_count: u64
The total number of logical CPUs (including BSP).
smp_info_array: [StivaleSmpInfo; 0]
Pointer to the SMP info array (including BSP).
Implementations
Return’s the SMP info array pointer as a rust slice.