mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-18 08:22:04 +00:00
mmu: Remove phys_addr parameter from mmu_unmap_range
It's unused
This commit is contained in:
parent
8e4a5bf32b
commit
b4229f0fa8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
size = (size >> MMU_Lx_SHIFT(level)) << MMU_Lx_SHIFT(level);
|
||||||
for(size_t offset = 0; offset < size; offset += MMU_Lx_SHIFT(level)) {
|
for(size_t offset = 0; offset < size; offset += MMU_Lx_SHIFT(level)) {
|
||||||
mmu_unmap(level, tbl, base_addr + offset);
|
mmu_unmap(level, tbl, base_addr + offset);
|
||||||
|
|
Loading…
Reference in a new issue