aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/tasks
diff options
context:
space:
mode:
authorMarvin Borner2020-06-17 18:06:59 +0200
committerMarvin Borner2020-06-17 18:06:59 +0200
commit49dfa1f4021026bf7c4d77817959c8aa24067016 (patch)
tree840132693191cfeeb2085062e2caa67f65ae6993 /src/kernel/tasks
parentcca3879a03c2a983310e25bca6a64a979aa9c3ef (diff)
Some things
Diffstat (limited to 'src/kernel/tasks')
-rw-r--r--src/kernel/tasks/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c
index ee657c4..8fd621d 100644
--- a/src/kernel/tasks/process.c
+++ b/src/kernel/tasks/process.c
@@ -186,7 +186,7 @@ struct process *process_make_new()
proc->regs.ds = 0x23;
proc->regs.ss = 0x23;
proc->regs.eip = no_entry;
- proc->cr3 = paging_make_dir();
+ proc->cr3 = (u32)paging_make_dir();
proc->pid = pid++;
return proc;
}
@@ -229,4 +229,4 @@ u32 uspawn(char *path)
log("Spawned");
process_force_switch();
return 0;
-} \ No newline at end of file
+}