limine-protocol 0.2.1

A crate designed to make dealing with the Limine Protocol easy, with no UB! (Probably...)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use core::ptr::NonNull;

use crate::responses::SMPResponse;

limine_request! {
    #[repr(C)]
    #[derive(Debug)]
    /// Request the bootloader bootstrap the secondary processors
    pub struct SMPRequest: [0x95a67b819a1b857e, 0xa0b61b723b6a73e0] {
        /// Response pointer
        pub response: Option<NonNull<SMPResponse>>,
        /// Flags for the bootloader
        /// `Bit 0` - Enable X2APIC if available
        pub flags: u64,
    }
}