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::KernelFileResponse;

limine_request! {
    #[repr(C)]
    #[derive(Debug)]
    /// Request the file the Kernel was loaded from
    pub struct KernelFileRequest: [0xad97e90e83f1ed67, 0x31eb5d1c5ff23b69] {
        /// Response pointer
        pub response: Option<NonNull<KernelFileResponse<'static>>>,
    }
}