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

limine_request! {
    #[repr(C)]
    #[derive(Debug)]
    /// Request a framebuffer
    pub struct FramebufferRequest: [0xcbfe81d7dd2d1977, 0x063150319ebc9b71] {
        /// Response pointer
        pub response: Option<NonNull<FramebufferResponse>>,
    }
}