diff options
| author | Miguel <m.i@gmx.at> | 2018-10-13 00:57:28 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-13 00:57:28 +0200 |
| commit | 279f3336a8f6b31ca38bdd272c73aebd68fa88fe (patch) | |
| tree | b4bb4a21a4acf38eb810768ac6c1b099e2f18a58 /kernel/syscalls.h | |
| parent | b461c3558b2fe765a4bac512638b0acf5185b4bb (diff) | |
ncurses arrow keys working etc
Diffstat (limited to 'kernel/syscalls.h')
| -rw-r--r-- | kernel/syscalls.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/syscalls.h b/kernel/syscalls.h index 5579dd7..d3223a5 100644 --- a/kernel/syscalls.h +++ b/kernel/syscalls.h @@ -16,6 +16,8 @@ #include <stdbool.h> #include "fd.h" +#include "/home/miguel/Downloads/newlib-foolos/newlib/libc/sys/foolos/syscalls.h" +/* #define SYSCALL_EXIT 60 #define SYSCALL_EXECVE 64 #define SYSCALL_FORK 72 @@ -45,6 +47,7 @@ #define SYSCALL_GUI_RECT 87 #define SYSCALL_GUI_WIN 88 +*/ /** Todo move somewhere else and init per process , think how to make thread safe */ void fd_init_std_streams(uint32_t pid); @@ -59,6 +62,9 @@ uint32_t syscall_generic(uint32_t nr,uint32_t p1, uint32_t p2, uint32_t p3, uint /** test if a specific syscall is ready to be processed */ uint32_t syscall_generic_test(uint32_t nr,uint32_t p1, uint32_t p2, uint32_t p3, uint32_t pid); +/** prepare syscall */ +uint32_t syscall_generic_prep(uint32_t nr,uint32_t p1, uint32_t p2, uint32_t p3, uint32_t pid); + // new planned syscalls for graphx // TODO: split ncurses and our syscalls?? |
