#[repr(C)]pub struct EfiSystemTableRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<EfiSystemTableResponse>>,
}Expand description
Request the address of the EFI System Table
Fields§
§id: [u64; 4]The request id array
revision: u64The request revision
response: Option<NonNull<EfiSystemTableResponse>>Response pointer
Implementations§
Source§impl EfiSystemTableRequest
impl EfiSystemTableRequest
Sourcepub unsafe fn get_response(&self) -> Option<&EfiSystemTableResponse>
pub unsafe fn get_response(&self) -> Option<&EfiSystemTableResponse>
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 EfiSystemTableRequest
impl RefUnwindSafe for EfiSystemTableRequest
impl !Send for EfiSystemTableRequest
impl !Sync for EfiSystemTableRequest
impl Unpin for EfiSystemTableRequest
impl UnwindSafe for EfiSystemTableRequest
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