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/tasks/process.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/kernel/tasks/process.c') diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c index a3bb8d0..87a6ec9 100644 --- a/src/kernel/tasks/process.c +++ b/src/kernel/tasks/process.c @@ -197,8 +197,7 @@ struct process *process_make_new() proc->brk = 0x50000000; - int i; - for (i = 0; i < 1024; i++) + for (int i = 0; i < 1024; i++) proc->cr3->tables[i] = paging_root_directory->tables[i]; proc->pid = pid++; -- cgit v1.2.3