diff options
author | Ian Moffett <ian@osmora.org> | 2024-04-30 22:24:01 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-04-30 22:24:01 -0400 |
commit | 217db7b1bbddac4e5aa1a5817751a8c272d82548 (patch) | |
tree | 4f639be17f7141979b484a082b0528e2b788f92c /sys/include | |
parent | 8137f417f73319fb29a5398dd0f43f1d909f1429 (diff) |
kernel: vm: Refactor map.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/vm/map.h | 6 |
1 files 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); |