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

use crate::responses::BootTimeResponse;

limine_request! {
    #[repr(C)]
    #[derive(Debug)]
    /// Request the time on boot
    pub struct BootTimeRequest: [0x502746e184c088aa, 0xfbc5ec83e6327893] {
        /// Response pointer
        pub response: Option<NonNull<BootTimeResponse>>,
    }
}