diff options
author | Marvin Borner | 2020-05-26 18:14:14 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-26 18:14:14 +0200 |
commit | 0977f984ca61c6cce96705ab923bdf93dc3ce5a3 (patch) | |
tree | 1d69d41996b383a15d897a68e140147adeebcd8b /src/kernel/tasks | |
parent | b70116dc7c57132c109955c4b174ff2417afda68 (diff) |
Reduced some magic numbers
Diffstat (limited to 'src/kernel/tasks')
-rw-r--r-- | src/kernel/tasks/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c index fa41313..e11cfee 100644 --- a/src/kernel/tasks/process.c +++ b/src/kernel/tasks/process.c @@ -187,8 +187,8 @@ struct process *process_make_new() proc->brk = 0x50000000; - /* for (int i = 0; i < 1024; i++) */ - /* proc->cr3[i] = kernel_page_directory[i]; */ + for (int i = 0; i < 1024; i++) + proc->cr3[i] = kernel_page_directory[i]; proc->pid = pid++; return proc; |