aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.h
diff options
context:
space:
mode:
authorMarvin Borner2019-12-10 21:47:41 +0100
committerMarvin Borner2019-12-10 21:47:41 +0100
commit68915f46e66ed65ce2d32009fdfa2f5dca116842 (patch)
tree7d6df3e4dc6219422cc4b1faf909ff32a74b6edf /src/kernel/syscall/syscall.h
parent33bdf18dad2539aca21727e95e04bfedecd37a76 (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.h8
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