From f8411d1f1a4765ce38e63f4b3304d72cbfddad6f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 19 Oct 2025 23:14:23 -0400 Subject: kern: vm: Introduce initial mmap() impl - Adds kernel mmap() function - Adds SYS_mmap syscall Signed-off-by: Ian Moffett --- src/sys/include/vm/map.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sys/include/vm') diff --git a/src/sys/include/vm/map.h b/src/sys/include/vm/map.h index 69d7d73..8183b62 100644 --- a/src/sys/include/vm/map.h +++ b/src/sys/include/vm/map.h @@ -31,6 +31,7 @@ #define _VM_MAP_H_ 1 #include +#include #include #include /* standard */ #include @@ -52,4 +53,9 @@ */ int vm_map(struct vm_vas *vas, struct mmu_map *spec, size_t len, int prot); +/* + * POSIX mmap syscall + */ +scret_t sys_mmap(struct syscall_args *scargs); + #endif /* !_VM_MAP_H_ */ -- cgit v1.2.3