From 0b3b63ffdedb2e37e0732c09eb0e967e256f0d71 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 1 Jun 2020 23:30:40 +0200 Subject: Very clean mmap approach Sorry for the previous commit messages, I was kind of frustrated. --- src/kernel/tasks/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/tasks/process.c') diff --git a/src/kernel/tasks/process.c b/src/kernel/tasks/process.c index 5f70bc7..0b13b6b 100644 --- a/src/kernel/tasks/process.c +++ b/src/kernel/tasks/process.c @@ -182,7 +182,7 @@ struct process *process_make_new() proc->registers.cs = 0x1B; proc->registers.ds = 0x23; proc->registers.ss = 0x23; - proc->cr3 = paging_make_directory(); + proc->cr3 = paging_make_dir(); proc->brk = 0x50000000; proc->pid = pid++; return proc; -- cgit v1.2.3