limine-protocol 0.2.0

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
use core::ptr::NonNull;

use crate::responses::BootloaderInfoResponse;

limine_request! {
    #[repr(C)]
    #[derive(Debug)]
    /// Get information regarding the bootloader
    pub struct BootloaderInfoRequest: [0xf55038d8e2a1202f, 0x279426fcf5f59740] {
        /// Response pointer
        pub response: Option<NonNull<BootloaderInfoResponse<'static>>>,
    }
}