diff options
| author | Miguel <m.i@gmx.at> | 2018-09-21 12:56:51 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-21 12:56:51 +0200 |
| commit | c298ca7e6beaad0bcc32af6d4cf50d41b79f13b7 (patch) | |
| tree | b28e9c052cff3264439cad3c41b29262c60ba6ac /kernel/syscalls.h | |
| parent | f5281689c95758f17628f0286e0265ecf3385a8e (diff) | |
fix framebufffer/ textmode and clean userspace a little bit more
Diffstat (limited to 'kernel/syscalls.h')
| -rw-r--r-- | kernel/syscalls.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/syscalls.h b/kernel/syscalls.h index d90e314..7216a46 100644 --- a/kernel/syscalls.h +++ b/kernel/syscalls.h @@ -12,6 +12,9 @@ * */ +#include <stdint.h> +#include <stdbool.h> + #define SYSCALL_EXIT 60 #define SYSCALL_EXECVE 64 #define SYSCALL_FORK 72 @@ -40,7 +43,7 @@ #define SYSCALL_DUP2 86 /** Todo move somewhere else and init per process , think how to make thread safe */ -void fd_init_std_streams(uint32_t pid); +void fd_init_std_streams(uint32_t pid, bool use_framebuffer); /** returns string representation of the syscall from its number */ char* syscall_get_name(uint32_t num); |
