Expand description
Implementation of PageTableEntry and PageTable.
Structs§
- PTEFlags
- Page
Table - Record root ppn and has the same lifetime as 1 and 2 level
PageTableEntry - Page
Table Entry - page table entry structure
- User
Buffer - Array of u8 slice that user communicate with os
- User
Buffer Iterator - Iterator of
UserBuffer
Functions§
- translated_
byte_ buffer - Translate a pointer to a mutable u8 Vec through page table
- translated_
ref - Translate a generic through page table and return a reference
- translated_
refmut - Translate a generic through page table and return a mutable reference
- translated_
str - Translate a pointer to a mutable u8 Vec end with
\0through page table to aString