#[repr(C)]pub struct EntryPointRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<EntryPointResponse>>,
pub entry: Option<*mut ()>,
}
Expand description
Request the bootloader use the specified entry point instead of the default one
Fields§
§id: [u64; 4]
The request id array
revision: u64
The request revision
response: Option<NonNull<EntryPointResponse>>
Response pointer
entry: Option<*mut ()>
Function to the entry point
Implementations§
Source§impl EntryPointRequest
impl EntryPointRequest
Sourcepub unsafe fn get_response(&self) -> Option<&EntryPointResponse>
pub unsafe fn get_response(&self) -> Option<&EntryPointResponse>
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntryPointRequest
impl RefUnwindSafe for EntryPointRequest
impl !Send for EntryPointRequest
impl !Sync for EntryPointRequest
impl Unpin for EntryPointRequest
impl UnwindSafe for EntryPointRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more