diff options
author | Marvin Borner | 2019-12-10 21:47:41 +0100 |
---|---|---|
committer | Marvin Borner | 2019-12-10 21:47:41 +0100 |
commit | 68915f46e66ed65ce2d32009fdfa2f5dca116842 (patch) | |
tree | 7d6df3e4dc6219422cc4b1faf909ff32a74b6edf /src/kernel/syscall/syscall.h | |
parent | 33bdf18dad2539aca21727e95e04bfedecd37a76 (diff) |
Some syscalls and userspace stuff
sorry for the worse-getting commit messages...
Diffstat (limited to 'src/kernel/syscall/syscall.h')
-rw-r--r-- | src/kernel/syscall/syscall.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/kernel/syscall/syscall.h b/src/kernel/syscall/syscall.h index 046d702..a037d7f 100644 --- a/src/kernel/syscall/syscall.h +++ b/src/kernel/syscall/syscall.h @@ -7,10 +7,14 @@ void syscalls_install(); uint32_t sys_write(char *buf); -uint32_t sys_writec(char ch); +uint32_t sys_writec(char *ch); uint32_t sys_read(char *buf); -uint32_t sys_readc(); +uint32_t sys_readc(char *ch); + +uint32_t sys_paging_alloc(uint32_t count); + +uint32_t sys_paging_free(uint32_t virt, uint32_t count); #endif
\ No newline at end of file |