From a455cd5af26bf8731e7c981a9421b16ab34dae6f Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 1 Oct 2018 23:22:03 +0200 Subject: fukkin scheduler --- userspace/newcalls.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'userspace/newcalls.h') diff --git a/userspace/newcalls.h b/userspace/newcalls.h index 20d8ffd..e22bc78 100644 --- a/userspace/newcalls.h +++ b/userspace/newcalls.h @@ -4,6 +4,8 @@ #define SYSCALL_CLONE 83 #define SYSCALL_PIPE 84 #define SYSCALL_DUP2 86 +#define SYSCALL_GUI_RECT 87 +#define SYSCALL_GUI_WIN 88 int _clone(void) { @@ -17,4 +19,12 @@ int _dup2(uint32_t oldfd,uint32_t newfd) { return syscall(SYSCALL_DUP2,oldfd,newfd,0); } +int _gui_rect() +{ + return syscall(SYSCALL_GUI_RECT,0,0,0); +} +int _gui_win() +{ + return syscall(SYSCALL_GUI_WIN,0,0,0); +} // -- cgit v1.2.3