Function os::mm::page_table::translated_refmut
source · [−]pub fn translated_refmut<T>(token: usize, ptr: *mut T) -> &'static mut T
Expand description
translate a pointer ptr
in other address space to a mutable u8 slice in kernel address space. NOTICE: the content pointed to by the pointer ptr
cannot cross physical pages, otherwise translated_byte_buffer should be used.