Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3218 → Rev 3217

/branches/dynload/uspace/srv/loader/arch/ia64/ia64.s
31,13 → 31,14
 
## void program_run(void *entry_point, void *pcb);
#
# in0 (r32) contains entry_point
# in1 (r33) contains pcb
# in0 contains entry_point
# in1 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 b6 = r32
mov r2 = r33 ;;
mov out0 = in1
mov b6 = in0 ;;
br b6 ;;