Struct memory::MemoryManagementInfo
source · pub struct MemoryManagementInfo {
pub page_table: PageTable,
pub extra_mapped_pages: Vec<MappedPages>,
}
Expand description
This holds all the information for a Task
’s memory mappings and address space
(this is basically the equivalent of Linux’s mm_struct)
Fields§
§page_table: PageTable
the PageTable that should be switched to when this Task is switched to.
extra_mapped_pages: Vec<MappedPages>
The list of additional memory mappings that have the same lifetime as this MMI and are thus owned by this MMI. This currently includes only the mappings for the heap and the early VGA buffer.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MemoryManagementInfo
impl Send for MemoryManagementInfo
impl Sync for MemoryManagementInfo
impl Unpin for MemoryManagementInfo
impl UnwindSafe for MemoryManagementInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more