summaryrefslogtreecommitdiff
path: root/userland/libc/include
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-03-25 21:02:58 +0100
committerAnton Kling <anton@kling.gg>2024-03-25 21:04:10 +0100
commit3deb2df8e62a5f0a5535ee734a5aa13b0959f53f (patch)
treeaf8841076c95ae3de7dcd4a006026be2607a0fbf /userland/libc/include
parent6baa733f5682f660143c851a635a53dc2c2df7ae (diff)
Random changes
Diffstat (limited to 'userland/libc/include')
-rw-r--r--userland/libc/include/sys/mman.h1
-rw-r--r--userland/libc/include/syscall.h1
2 files changed, 2 insertions, 0 deletions
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);