Rev 3160 | Rev 3170 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3160 | Rev 3169 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | * Transfers control to the entry point of an ELF executable loaded |
116 | * Transfers control to the entry point of an ELF executable loaded |
117 | * earlier with elf_load_file(). This function does not return. |
117 | * earlier with elf_load_file(). This function does not return. |
118 | * |
118 | * |
119 | * @param info Info structure filled earlier by elf_load_file() |
119 | * @param info Info structure filled earlier by elf_load_file() |
120 | */ |
120 | */ |
121 | void elf_run(elf_info_t *info) |
121 | void elf_run(elf_info_t *info, void *pcb) |
122 | { |
122 | { |
123 | program_run(info->entry); |
123 | program_run(info->entry, pcb); |
124 | 124 | ||
125 | /* not reached */ |
125 | /* not reached */ |
126 | } |
126 | } |
127 | 127 | ||
128 | /** Create the program control block (PCB). |
128 | /** Create the program control block (PCB). |