summaryrefslogtreecommitdiff
path: root/kernel/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/syscalls.h')
-rw-r--r--kernel/syscalls.h5
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);