Struct limine_protocol::requests::SMPRequest
source · [−]#[repr(C)]pub struct SMPRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<SMPResponse>>,
pub flags: u64,
}Expand description
Request the bootloader bootstrap the secondary processors
Fields
id: [u64; 4]ID Array
revision: u64Revision numbers
response: Option<NonNull<SMPResponse>>Response pointer
flags: u64Flags for the bootloader
Bit 0 - Enable X2APIC if available
Implementations
sourceimpl SMPRequest
impl SMPRequest
sourcepub const ID: [u64; 4] = [COMMON_MAGIC[0], COMMON_MAGIC[1], 10783442154351723902, 11580473669266863072]
pub const ID: [u64; 4] = [COMMON_MAGIC[0], COMMON_MAGIC[1], 10783442154351723902, 11580473669266863072]
The ID of the request
sourcepub fn new() -> SMPRequest
pub fn new() -> SMPRequest
Return a new instance of the item with the correct ID values
sourcepub const fn into_request(self) -> LimineRequest<Self>
pub const fn into_request(self) -> LimineRequest<Self>
Convert the request into a LimineRequest
Trait Implementations
sourceimpl Debug for SMPRequest
impl Debug for SMPRequest
sourceimpl Default for SMPRequest
impl Default for SMPRequest
sourcefn default() -> SMPRequest
fn default() -> SMPRequest
Returns the “default value” for a type. Read more
impl LimineRequestMarker for SMPRequest
Auto Trait Implementations
impl RefUnwindSafe for SMPRequest
impl !Send for SMPRequest
impl !Sync for SMPRequest
impl Unpin for SMPRequest
impl UnwindSafe for SMPRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more