diff options
Diffstat (limited to 'src/kernel/linker/elf.h')
-rw-r--r-- | src/kernel/linker/elf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/linker/elf.h b/src/kernel/linker/elf.h index c32cce0..bb61795 100644 --- a/src/kernel/linker/elf.h +++ b/src/kernel/linker/elf.h @@ -52,12 +52,12 @@ struct elf_phdr { }; struct phdr { - struct elf_phdr h; + elf_phdr h; uint8_t* data; }; int elf_check(uint8_t *data); //0 if ok, 1 if not a valid ELF -thread_entry elf_load(uint8_t *data, struct process* process); //Load an ELF to a process, return entry point -struct process* elf_exec(uint8_t *data, int privilege); //Creates a new process and a thread for running ELF file +thread_entry elf_load(uint8_t *data, process* process); //Load an ELF to a process, return entry point +process* elf_exec(uint8_t *data, int privilege); //Creates a new process and a thread for running ELF file #endif |