From 474c803c32fe055b4f09cb779f22b70d7eba8325 Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 17 Oct 2018 02:39:56 +0200 Subject: screen areas invalidation --- userspace/newcalls.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 userspace/newcalls.h (limited to 'userspace/newcalls.h') 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 +#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); +} -- cgit v1.2.3