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

use crate::responses::StackSizeResponse;

limine_request! {
    #[repr(C)]
    #[derive(Debug)]
    /// Specify how much stack you desire the bootloader to give you
    pub struct StackSizeRequest: [0x224ef0460a8e8926, 0xe1cb0fc25f46ea3d] {
        /// Response pointer
        pub response: Option<NonNull<StackSizeResponse>>,
        /// The amount of stack to request
        pub stack_size: u64,
    }
}