From 217db7b1bbddac4e5aa1a5817751a8c272d82548 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 30 Apr 2024 22:24:01 -0400 Subject: kernel: vm: Refactor map.h Signed-off-by: Ian Moffett --- sys/include/vm/map.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/include/vm/map.h b/sys/include/vm/map.h index 1da8240..a1e74d9 100644 --- a/sys/include/vm/map.h +++ b/sys/include/vm/map.h @@ -66,12 +66,12 @@ struct vm_mapspace { size_t map_count; }; - +/* Mapping operations */ +int vm_map_destroy(struct vas vas, vaddr_t va, size_t bytes); int vm_map_create(struct vas vas, vaddr_t va, paddr_t pa, vm_prot_t prot, size_t bytes); -int vm_map_destroy(struct vas vas, vaddr_t va, size_t bytes); - +/* Syscalls */ uint64_t sys_mmap(struct syscall_args *args); uint64_t sys_munmap(struct syscall_args *args); -- cgit v1.2.3