|
|
@ -202,7 +202,7 @@ impl PageTableImpl {
|
|
|
|
let table = unsafe { &mut *frame_to_page_table(frame) };
|
|
|
|
let table = unsafe { &mut *frame_to_page_table(frame) };
|
|
|
|
PageTableImpl(
|
|
|
|
PageTableImpl(
|
|
|
|
MappedPageTable::new(table, frame_to_page_table),
|
|
|
|
MappedPageTable::new(table, frame_to_page_table),
|
|
|
|
core::mem::MaybeUninit::uninitialized().into_initialized()(),
|
|
|
|
core::mem::MaybeUninit::uninitialized().into_initialized(),
|
|
|
|
frame,
|
|
|
|
frame,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -217,7 +217,7 @@ impl PageTableExt for PageTableImpl {
|
|
|
|
unsafe {
|
|
|
|
unsafe {
|
|
|
|
PageTableImpl(
|
|
|
|
PageTableImpl(
|
|
|
|
MappedPageTable::new(table, frame_to_page_table),
|
|
|
|
MappedPageTable::new(table, frame_to_page_table),
|
|
|
|
core::mem::MaybeUninit::uninitialized().into_initialized()(),
|
|
|
|
core::mem::MaybeUninit::uninitialized().into_initialized(),
|
|
|
|
frame,
|
|
|
|
frame,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|