From 7e53464d7bb2187fe0754fbdc04becbdccae11fe Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 23 May 2020 18:43:22 +0200 Subject: Dynamic paging approach I think this is it. I really do. I guess. --- src/kernel/fs/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/fs/elf.c') diff --git a/src/kernel/fs/elf.c b/src/kernel/fs/elf.c index fe180c4..e11b91f 100644 --- a/src/kernel/fs/elf.c +++ b/src/kernel/fs/elf.c @@ -26,7 +26,7 @@ int is_elf(struct elf_header *header) struct process *elf_load(char *path) { log("ELF START"); - u32 *prev_dir; + u32 **prev_dir; if (current_proc) prev_dir = current_proc->cr3; else -- cgit v1.2.3