summaryrefslogtreecommitdiff
path: root/userspace/newcalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/newcalls.h')
-rw-r--r--userspace/newcalls.h10
1 files changed, 10 insertions, 0 deletions
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);
+}
//