aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs
diff options
context:
space:
mode:
authorMarvin Borner2020-05-17 23:35:14 +0200
committerMarvin Borner2020-05-17 23:35:14 +0200
commite3e294e60333cb603a3ac35412c8279d45081737 (patch)
treec3895d0c8cb81eddd75f6c0b8f71e03d6f4b2d55 /src/kernel/fs
parentf0ceac4c2e11a8cfd62ccb0a693178cae7c44d82 (diff)
Some testing in paging
This approach will probably work. I've done some *very* dumb mistakes before (e.g. assuming **dir == dir[1024][1024])... I KNOW BETTER NOW THOUGH!
Diffstat (limited to 'src/kernel/fs')
-rw-r--r--src/kernel/fs/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/fs/elf.c b/src/kernel/fs/elf.c
index 3279784..22cdb74 100644
--- a/src/kernel/fs/elf.c
+++ b/src/kernel/fs/elf.c
@@ -25,7 +25,7 @@ int is_elf(struct elf_header *header)
struct process *elf_load(char *path)
{
- u32 *prev_dir;
+ struct page_dir *prev_dir;
if (current_proc)
prev_dir = current_proc->cr3;
else