/branches/dynload/uspace/srv/loader/arch/arm32/arm32.s |
---|
28,8 → 28,12 |
.globl program_run |
## void program_run(uintptr_t entry_point); |
## void program_run(void *entry_point, void *pcb); |
# |
# r0 contains entry_point |
# r1 contains pcb |
# |
# Jump to a program entry point |
program_run: |
# pcb is passed to the entry point in r1 (where it already is) |
mov r15, r0 |