summaryrefslogtreecommitdiff
path: root/sys/include/vm/map.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-30 22:24:01 -0400
committerIan Moffett <ian@osmora.org>2024-04-30 22:24:01 -0400
commit217db7b1bbddac4e5aa1a5817751a8c272d82548 (patch)
tree4f639be17f7141979b484a082b0528e2b788f92c /sys/include/vm/map.h
parent8137f417f73319fb29a5398dd0f43f1d909f1429 (diff)
kernel: vm: Refactor map.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm/map.h')
-rw-r--r--sys/include/vm/map.h6
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);