diff --git a/hbvm/src/mem/mod.rs b/hbvm/src/mem/mod.rs index d93ef58..c8656f5 100644 --- a/hbvm/src/mem/mod.rs +++ b/hbvm/src/mem/mod.rs @@ -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));