diff --git a/kernel/src/memory/MemoryManager.cpp b/kernel/src/memory/MemoryManager.cpp index b3fc2f8c..978a0b98 100644 --- a/kernel/src/memory/MemoryManager.cpp +++ b/kernel/src/memory/MemoryManager.cpp @@ -171,7 +171,7 @@ namespace MemoryManager return {}; } - Result map(u64 virt, u64 phys, usize count, int flags) + Result map_frames_at(u64 virt, u64 phys, usize count, int flags) { CHECK_PAGE_ALIGNED(virt); CHECK_PAGE_ALIGNED(phys); diff --git a/kernel/src/memory/MemoryManager.h b/kernel/src/memory/MemoryManager.h index 734aa87c..17bf0136 100644 --- a/kernel/src/memory/MemoryManager.h +++ b/kernel/src/memory/MemoryManager.h @@ -20,7 +20,7 @@ namespace MemoryManager bool validate_readable_page(u64 address); bool validate_writable_page(u64 address); - Result map(u64 virt, u64 phys, usize count, int flags); + Result map_frames_at(u64 virt, u64 phys, usize count, int flags); Result alloc_at(u64 virt, usize count, int flags);