diff options
author | Marvin Borner | 2020-06-17 18:06:59 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-17 18:06:59 +0200 |
commit | 49dfa1f4021026bf7c4d77817959c8aa24067016 (patch) | |
tree | 840132693191cfeeb2085062e2caa67f65ae6993 /src/kernel/tasks/process.c | |
parent | cca3879a03c2a983310e25bca6a64a979aa9c3ef (diff) |
Some things
Diffstat (limited to 'src/kernel/tasks/process.c')
-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 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 +} |