Function os::mm::page_table::translated_byte_buffer
source · pub fn translated_byte_buffer(
token: usize,
ptr: *const u8,
len: usize
) -> Vec<&'static mut [u8]>Expand description
Create mutable Vec<u8> slice in kernel space from ptr in other address space. NOTICE: the content pointed to by the pointer ptr can cross physical pages.