Changeset b994a60 in mainline for arch/ia64/src/ivt.S


Ignore:
Timestamp:
2006-03-09T12:44:27Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
901122b
Parents:
cd373bb
Message:

ia64 work.
Changes to make userspace work (kernel part).
Use ski.conf from contrib directory to run Ski.

There is actually no appropriate syscall handler yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/ivt.S

    rcd373bb rb994a60  
    137137        st8 [r31] = r26, -8             /* save ar.ifs */
    138138       
    139         and r30 = ~3, r24 ;;
    140         mov ar.rsc = r30 ;;             /* place RSE in enforced lazy mode */
     139        and r24 = ~(RSC_PL_MASK), r24 ;;
     140        and r30 = ~(RSC_MODE_MASK), r24 ;;
     141        mov ar.rsc = r30 ;;             /* update RSE state */
    141142       
    142143        mov r27 = ar.rnat
     
    163164        st8 [r31] = r29, -8             /* save ar.bsp */
    164165       
    165         mov ar.rsc = r24                /* restore RSE's setting */
     166        mov ar.rsc = r24                /* restore RSE's setting + kernel privileges */
    166167       
    167168    /* steps 6 - 15 are done by heavyweight_handler_inner() */
     
    301302
    302303    /* 10. call handler */
     304        movl r1 = _hardcoded_load_address
     305   
    303306        mov b1 = loc2
    304307        br.call.sptk.many b0 = b1
Note: See TracChangeset for help on using the changeset viewer.