From 49dfa1f4021026bf7c4d77817959c8aa24067016 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jun 2020 18:06:59 +0200 Subject: Some things --- src/kernel/tasks/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/tasks/process.c') 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 +} -- cgit v1.2.3