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

use crate::responses::EntryPointResponse;

limine_request! {
    #[repr(C)]
    #[derive(Debug)]
    /// Request the bootloader use the specified entry point instead of the default one
    pub struct EntryPointRequest: [0x13d86c035a1cd3e1, 0x2b0caa89d8f3026a] {
        /// Response pointer
        pub response: Option<NonNull<EntryPointResponse>>,
        /// Function to the entry point
        pub entry: Option<*mut ()>,
    }
}