From 3deb2df8e62a5f0a5535ee734a5aa13b0959f53f Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 25 Mar 2024 21:02:58 +0100 Subject: Random changes --- userland/libc/include/sys/mman.h | 1 + userland/libc/include/syscall.h | 1 + 2 files changed, 2 insertions(+) (limited to 'userland/libc/include') diff --git a/userland/libc/include/sys/mman.h b/userland/libc/include/sys/mman.h index 7dfe29a..7cba68f 100644 --- a/userland/libc/include/sys/mman.h +++ b/userland/libc/include/sys/mman.h @@ -12,4 +12,5 @@ void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset); +int munmap(void *addr, size_t length); #endif diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h index d89ead5..e375079 100644 --- a/userland/libc/include/syscall.h +++ b/userland/libc/include/syscall.h @@ -60,6 +60,7 @@ #define SYS_QUEUE_CREATE 49 #define SYS_QUEUE_ADD 50 #define SYS_QUEUE_WAIT 51 +#define SYS_MUNMAP 52 int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx, uint32_t esi, uint32_t edi); -- cgit v1.2.3