diff options
Diffstat (limited to 'kernel/drivers/fb.c')
-rw-r--r-- | kernel/drivers/fb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/drivers/fb.c b/kernel/drivers/fb.c index 577debf..3e333e8 100644 --- a/kernel/drivers/fb.c +++ b/kernel/drivers/fb.c @@ -1,6 +1,7 @@ // MIT License, Copyright (c) 2021 Marvin Borner #include <assert.h> +#include <cpu.h> #include <def.h> #include <errno.h> #include <fb.h> @@ -44,7 +45,9 @@ static res fb_ioctl(u32 request, void *arg1, void *arg2, void *arg3, struct devi else fb_owner = proc_current()->pid; + stac(); memcpy(arg1, info->vbe, sizeof(struct vbe_basic)); + clac(); fb_map_buffer(proc_current()->page_dir, info); return EOK; } |