From b4229f0fa8cd5b4fd017243e1b2f221551bca754 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 23 Feb 2018 09:25:11 -0500 Subject: [PATCH] mmu: Remove phys_addr parameter from mmu_unmap_range It's unused --- exosphere/mmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exosphere/mmu.h b/exosphere/mmu.h index aaec23754..640ce7923 100644 --- a/exosphere/mmu.h +++ b/exosphere/mmu.h @@ -163,7 +163,7 @@ static inline void mmu_map_page_range(uintptr_t *tbl, uintptr_t base_addr, uintp } } -static inline void mmu_unmap_range(unsigned int level, uintptr_t *tbl, uintptr_t base_addr, uintptr_t phys_addr, size_t size) { +static inline void mmu_unmap_range(unsigned int level, uintptr_t *tbl, uintptr_t base_addr, size_t size) { size = (size >> MMU_Lx_SHIFT(level)) << MMU_Lx_SHIFT(level); for(size_t offset = 0; offset < size; offset += MMU_Lx_SHIFT(level)) { mmu_unmap(level, tbl, base_addr + offset);