Function os::mm::translated_refmut
source · pub fn translated_refmut<T>(token: usize, ptr: *mut T) -> &'static mut TExpand 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.