Module os::mm::page_table
source · Expand description
Implementation of PageTableEntry and PageTable.
Structs§
- page table entry flags
- page table structure
- page table entry structure
- An abstraction over a buffer passed from user space to kernel space
- An iterator over a UserBuffer
Functions§
- Create mutable
Vec<u8>slice in kernel space from ptr in other address space. NOTICE: the content pointed to by the pointerptrcan cross physical pages. - translate a pointer
ptrin other address space to a immutable u8 slice in kernel address space. NOTICE: the content pointed to by the pointerptrcannot cross physical pages, otherwise translated_byte_buffer should be used. - translate a pointer
ptrin other address space to a mutable u8 slice in kernel address space. NOTICE: the content pointed to by the pointerptrcannot cross physical pages, otherwise translated_byte_buffer should be used. - Create String in kernel address space from u8 Array(end with 0) in other address space