diff options
author | Marvin Borner | 2021-01-07 20:11:48 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-07 20:11:48 +0100 |
commit | 9fad5e3bb718c5892ec72de42977886233721cb9 (patch) | |
tree | 135ac142e1b3d479d303e3aba4dcfa142749cb2a /kernel/features/load.c | |
parent | 8fb2349d12e21868c77f2c975dbd958eb2536499 (diff) |
Started conversion to VFS
Diffstat (limited to 'kernel/features/load.c')
-rw-r--r-- | kernel/features/load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/features/load.c b/kernel/features/load.c index d2f1961..b3d5828 100644 --- a/kernel/features/load.c +++ b/kernel/features/load.c @@ -11,7 +11,7 @@ int bin_load(char *path, struct proc *proc) { - char *data = file_read(path); + char *data = vfs_read(path); u32 stack = (u32)malloc(0x2000) + 0x1000; @@ -33,7 +33,7 @@ int elf_verify(struct elf_header *h) // TODO: Fix elf loading void elf_load(char *path, struct proc *proc) { - char *data = file_read(path); + char *data = vfs_read(path); struct elf_header *h = (struct elf_header *)data; if (!elf_verify(h)) { |