summaryrefslogtreecommitdiff
path: root/userspace/newcalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/newcalls.h')
-rw-r--r--userspace/newcalls.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/userspace/newcalls.h b/userspace/newcalls.h
new file mode 100644
index 0000000..177e100
--- /dev/null
+++ b/userspace/newcalls.h
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include "../interface/syscalls.h"
+
+/** invalidate screen rectangle */
+// we pack x,y and width,height togehter
+int _gui_inval(uint32_t xy, uint32_t wh)
+{
+ return syscall(SYSCALL_GUI_RECT,xy,wh,0);
+}