/branches/dynload/uspace/srv/loader/arch/ia64/ia64.s |
---|
31,14 → 31,13 |
## void program_run(void *entry_point, void *pcb); |
# |
# in0 contains entry_point |
# in1 contains pcb |
# in0 (r32) contains entry_point |
# in1 (r33) contains pcb |
# |
# Jump to a program entry point |
program_run: |
# Pass pcb to the entry point in r2 |
alloc loc0 = ar.pfs, 2, 1, 1, 0 ;; |
mov out0 = in1 |
mov b6 = in0 ;; |
mov b6 = r32 |
mov r2 = r33 ;; |
br b6 ;; |