aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 23:26:51 +0200
committerMarvin Borner2020-04-29 23:26:51 +0200
commit8b52d7698e4a9a5abaf730c7da1c4f865cb78f8e (patch)
tree873f2ae99b369f4db809fe1cd2684ae0e60c6144 /src/kernel/syscall
parent0f54f0de1004c6e9a455c295dc76879ac37a408f (diff)
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.
Diffstat (limited to 'src/kernel/syscall')
-rw-r--r--src/kernel/syscall/actions/sys_pointers.c2
1 files changed, 1 insertions, 1 deletions
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;