From 3deb2df8e62a5f0a5535ee734a5aa13b0959f53f Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 25 Mar 2024 21:02:58 +0100 Subject: Random changes --- kernel/includes/syscalls.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/includes') 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 +#include #include #include #include @@ -6,7 +7,6 @@ #include #include #include -#include 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); -- cgit v1.2.3