#[repr(C)]pub struct HHDMRequest {
pub id: [u64; 4],
pub revision: u64,
pub response: Option<NonNull<HHDMResponse>>,
}Expand description
Request Higher Half Direct Mapping be enabled
Fields§
§id: [u64; 4]The request id array
revision: u64The request revision
response: Option<NonNull<HHDMResponse>>Response pointer
Implementations§
Source§impl HHDMRequest
impl HHDMRequest
Source§impl HHDMRequest
impl HHDMRequest
Sourcepub unsafe fn get_response(&self) -> Option<&HHDMResponse>
pub unsafe fn get_response(&self) -> Option<&HHDMResponse>
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 HHDMRequest
impl RefUnwindSafe for HHDMRequest
impl !Send for HHDMRequest
impl !Sync for HHDMRequest
impl Unpin for HHDMRequest
impl UnwindSafe for HHDMRequest
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