diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 17:03:55 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 17:03:55 +0100 |
commit | 408faed4df730384538aaa0e338ae8ea7abe400d (patch) | |
tree | d391e7b94bab9de64ded62faf06d32f8a8340d3d /src/lib/include/syscall.h | |
parent | 396a630f55aae0105ce56d302afaa937632d15ed (diff) | |
download | kogata-408faed4df730384538aaa0e338ae8ea7abe400d.tar.gz kogata-408faed4df730384538aaa0e338ae8ea7abe400d.zip |
Implement userspace malloc
Diffstat (limited to 'src/lib/include/syscall.h')
-rw-r--r-- | src/lib/include/syscall.h | 5 |
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 :*/ |