aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/include/syscall.h')
-rw-r--r--src/lib/include/syscall.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/include/syscall.h b/src/lib/include/syscall.h
index 44b88cf..e0f08eb 100644
--- a/src/lib/include/syscall.h
+++ b/src/lib/include/syscall.h
@@ -5,6 +5,7 @@
#include <stdbool.h>
#include <syscallproto.h>
+#include <mmap.h>
#include <fs.h>
#include <debug.h>
@@ -13,6 +14,10 @@ void dbg_print(const char* str);
void yield();
void exit(int code);
+bool mmap(void* addr, size_t size, int mode);
+bool mchmap(void* addr, int mode);
+bool munmap(void* addr);
+
// more todo
/* vim: set ts=4 sw=4 tw=0 noet :*/