diff --git a/src/arch/x86_64/mem/vmm.c b/src/arch/x86_64/mem/vmm.c index 685e07c..1030be2 100644 --- a/src/arch/x86_64/mem/vmm.c +++ b/src/arch/x86_64/mem/vmm.c @@ -132,4 +132,6 @@ void vmm_free(u64 virtual_address, u64 page_count) u64 physical_address = vmm_unmap(virtual_address + (i * PAGE_SIZE)); pmm_free(physical_address); } + + vmm_free_address(virtual_address, page_count); } \ No newline at end of file