From 8b52d7698e4a9a5abaf730c7da1c4f865cb78f8e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 23:26:51 +0200 Subject: Working framebuffer from userspace... Well, it doesn't actually work. I disabled several security measures to get this working and I'll try to fix these soon. --- src/kernel/syscall/actions/sys_pointers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/syscall/actions') diff --git a/src/kernel/syscall/actions/sys_pointers.c b/src/kernel/syscall/actions/sys_pointers.c index 6cf50ae..1a9a5cf 100644 --- a/src/kernel/syscall/actions/sys_pointers.c +++ b/src/kernel/syscall/actions/sys_pointers.c @@ -12,7 +12,7 @@ struct pointers { uint32_t sys_pointers() { - struct pointers *pointers = umalloc(sizeof(struct pointers)); + struct pointers *pointers = umalloc(sizeof(struct vbe_mode_info) + sizeof(struct font)); pointers->current_mode_info = current_mode_info; pointers->font = font; -- cgit v1.2.3