forked from AbleOS/holey-bytes
Whoops, this is 5-level paging, not 6-level paging
This commit is contained in:
parent
1ed153a9a2
commit
2480a65947
|
@ -64,7 +64,7 @@ impl Memory {
|
|||
};
|
||||
|
||||
// Walk pagetable levels
|
||||
for lvl in (lookup_depth..5).rev() {
|
||||
for lvl in (lookup_depth..4).rev() {
|
||||
let entry = (*current_pt)
|
||||
.table
|
||||
.get_unchecked_mut(addr_extract_index(target, lvl));
|
||||
|
|
Loading…
Reference in a new issue