Changeset 25f9823 in mainline for libc/arch/ia64/src/entry.s


Ignore:
Timestamp:
2006-05-17T21:52:56Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b399cc
Parents:
04552a80
Message:

create special entry point for drivers (don't initialize I/O)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/arch/ia64/src/entry.s

    r04552a80 r25f9823  
    3232
    3333.globl __entry
     34.globl __entry_driver
    3435
    3536## User-space task entry point
     
    4041        mov r1 = _gp
    4142        { br.call.sptk.many b0 = __main }
     43        { br.call.sptk.many b0 = __io_init }
    4244        { br.call.sptk.many b0 = main }
    4345        { br.call.sptk.many b0 = __exit }
    44        
    45 .end __entry
     46
     47__entry_driver:
     48        alloc loc0 = ar.pfs, 0, 1, 2, 0
     49        mov r1 = _gp
     50        { br.call.sptk.many b0 = __main }
     51        { br.call.sptk.many b0 = main }
     52        { br.call.sptk.many b0 = __exit }
Note: See TracChangeset for help on using the changeset viewer.