Struct limine_protocol::TerminalRequest
source · #[repr(C)]pub struct TerminalRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<TerminalResponse>>,
}Expand description
Request a terminal
Fields§
§id: [u64; 4]The request id array
revision: u64The request revision
response: Option<NonNull<TerminalResponse>>Response pointer
Implementations§
source§impl TerminalRequest
impl TerminalRequest
sourcepub unsafe fn get_response(&self) -> Option<&TerminalResponse>
pub unsafe fn get_response(&self) -> Option<&TerminalResponse>
Get the response as a reference, if it’s present.
Safety
The backing memory must not have been invalidated by the kernel, either by writing to the physical memory, changing where it’s mapped, or unmapping it.