aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tasks/process.c')
-rw-r--r--src/kernel/tasks/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c
index 900d775..fa41313 100644
--- a/src/kernel/tasks/process.c
+++ b/src/kernel/tasks/process.c
@@ -183,12 +183,12 @@ struct process *process_make_new()
proc->registers.cs = 0x1B;
proc->registers.ds = 0x23;
proc->registers.ss = 0x23;
- proc->cr3 = paging_make_directory(1);
+ proc->cr3 = paging_make_directory();
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;