diff options
author | Anton Kling <anton@kling.gg> | 2024-03-25 21:02:58 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-03-25 21:04:10 +0100 |
commit | 3deb2df8e62a5f0a5535ee734a5aa13b0959f53f (patch) | |
tree | af8841076c95ae3de7dcd4a006026be2607a0fbf /kernel/includes | |
parent | 6baa733f5682f660143c851a635a53dc2c2df7ae (diff) |
Random changes
Diffstat (limited to 'kernel/includes')
-rw-r--r-- | kernel/includes/syscalls.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/includes/syscalls.h b/kernel/includes/syscalls.h index a0be694..cd49a1b 100644 --- a/kernel/includes/syscalls.h +++ b/kernel/includes/syscalls.h @@ -1,4 +1,5 @@ #include <fs/vfs.h> +#include <queue.h> #include <signal.h> #include <socket.h> #include <stddef.h> @@ -6,7 +7,6 @@ #include <time.h> #include <typedefs.h> #include <types.h> -#include <queue.h> void syscall_outw(u16 port, u16 word); u32 syscall_inl(u16 port); @@ -68,6 +68,7 @@ typedef struct SYS_MMAP_PARAMS { } __attribute__((packed)) SYS_MMAP_PARAMS; void *syscall_mmap(SYS_MMAP_PARAMS *args); +int syscall_munmap(void *addr, size_t length); #ifndef MSLEEP_H #define MSLEEP_H void syscall_msleep(u32 ms); |