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

limine_request! {
    #[repr(C)]
    #[derive(Debug)]
    /// Request the physical and virtual address of the Kernel
    pub struct KernelAddressRequest: [0x71ba76863cc55f63, 0xb2644a48c516a487] {
        /// Response pointer
        pub response: Option<NonNull<KernelAddressResponse>>,
    }
}