Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4677 → Rev 3022

/branches/dd/uspace/lib/libc/arch/ia64/src/ddi.c
File deleted
/branches/dd/uspace/lib/libc/arch/ia64/src/entry.s
31,17 → 31,27
.org 0
 
.globl __entry
.globl __entry_driver
 
## User-space task entry point
#
# r2 contains the PCB pointer
#
__entry:
alloc loc0 = ar.pfs, 0, 1, 2, 0
movl r1 = _gp
mov r1 = _gp
br.call.sptk.many b0 = __main
0:
br.call.sptk.many b0 = __io_init
1:
br.call.sptk.many b0 = main
2:
br.call.sptk.many b0 = __exit
 
# Pass PCB pointer as the first argument to __main
mov out0 = r2
__entry_driver:
alloc loc0 = ar.pfs, 0, 1, 2, 0
mov r1 = _gp
br.call.sptk.many b0 = __main
0:
br.call.sptk.many b0 = main
1:
br.call.sptk.many b0 = __exit
/branches/dd/uspace/lib/libc/arch/ia64/src/thread_entry.s
36,7 → 36,7
__thread_entry:
alloc loc0 = ar.pfs, 0, 1, 1, 0
 
movl r1 = _gp
mov r1 = _gp
#
# r8 contains address of uarg structure.