aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/process.c
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/tasks/process.c
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/tasks/process.c')
-rw-r--r--src/kernel/tasks/process.c3
1 files changed, 1 insertions, 2 deletions
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++;