diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-18 15:15:57 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-18 15:15:57 +0200 |
commit | daa6c2450fa0646619698f0dc01b0456b2541317 (patch) | |
tree | 1065acdd5e1f2c0febafa345e4a36c9a35dbb100 /src/kernel/linker/elf.h | |
parent | 7d5a38ada35ac196919c26675f211adb995b84ae (diff) | |
download | TCE-daa6c2450fa0646619698f0dc01b0456b2541317.tar.gz TCE-daa6c2450fa0646619698f0dc01b0456b2541317.zip |
Added process arguments when loaded as modules.
Diffstat (limited to 'src/kernel/linker/elf.h')
-rw-r--r-- | src/kernel/linker/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/linker/elf.h b/src/kernel/linker/elf.h index 184f410..12216b7 100644 --- a/src/kernel/linker/elf.h +++ b/src/kernel/linker/elf.h @@ -58,6 +58,6 @@ struct phdr { int elf_check(uint8_t *data); //0 if ok, -1 if not a valid ELF 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 +process* elf_exec(uint8_t *data, int privilege, char **args); //Creates a new process and a thread for running ELF file #endif |