aboutsummaryrefslogtreecommitdiffstats
path: root/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mmu.c')
-rw-r--r--mmu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mmu.c b/mmu.c
index 26c7af5..4881f66 100644
--- a/mmu.c
+++ b/mmu.c
@@ -198,7 +198,6 @@ uint64_t search_v1_page_directory(struct nvdebug_state *g,
198 // If we find a matching PTE, return its virtual address 198 // If we find a matching PTE, return its virtual address
199 if ((uint64_t)pte.addr << 12 == addr_to_find) 199 if ((uint64_t)pte.addr << 12 == addr_to_find)
200 return i << NV_MMU_PT_V1_LSB[0] | j << NV_MMU_PT_V1_LSB[1]; 200 return i << NV_MMU_PT_V1_LSB[0] | j << NV_MMU_PT_V1_LSB[1];
201
202 } 201 }
203 } while (++i < NV_MMU_PT_V1_SZ[0]); 202 } while (++i < NV_MMU_PT_V1_SZ[0]);
204 return 0; 203 return 0;