summaryrefslogtreecommitdiff
path: root/userspace/newcalls.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-10-17 02:39:56 +0200
committerMiguel <m.i@gmx.at>2018-10-17 02:39:56 +0200
commit474c803c32fe055b4f09cb779f22b70d7eba8325 (patch)
treefda4241ebd53688c17379a9dd11b111c5bf5e7a0 /userspace/newcalls.h
parent39f271589fb9db3d6a383857817b13a9bb59d981 (diff)
screen areas invalidation
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);
+}