Changeset 448ba47 in rtems


Ignore:
Timestamp:
May 27, 1998, 12:26:07 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6bb6930
Parents:
139e6efe
Message:

Fixed spacing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/sparc/cpu_asm.s

    r139e6efe r448ba47  
    490490        sub      %sp, CPU_MINIMUM_STACK_FRAME_SIZE, %sp
    491491
    492       /*
    493        *  Check if we have an external interrupt (trap 0x11 - 0x1f). If so,
    494        *  set the PIL in the %psr to mask off interrupts with lower priority.
    495        *  The original %psr in %l0 is not modified since it will be restored
    496        *  when the interrupt handler returns.
    497        */
    498 
    499       mov     %l0, %g5
    500       subcc   %l3, 0x11, %g0
    501       bl      dont_fix_pil
    502       subcc   %l3, 0x1f, %g0
    503       bg      dont_fix_pil
    504       sll     %l3, 8, %g4
    505       and     %g4, SPARC_PSR_PIL_MASK, %g4
    506       andn    %l0, SPARC_PSR_PIL_MASK, %g5
    507       or      %g4, %g5, %g5
     492        /*
     493         *  Check if we have an external interrupt (trap 0x11 - 0x1f). If so,
     494         *  set the PIL in the %psr to mask off interrupts with lower priority.
     495         *  The original %psr in %l0 is not modified since it will be restored
     496         *  when the interrupt handler returns.
     497         */
     498
     499        mov      %l0, %g5
     500        subcc    %l3, 0x11, %g0
     501        bl       dont_fix_pil
     502        subcc    %l3, 0x1f, %g0
     503        bg       dont_fix_pil
     504        sll      %l3, 8, %g4
     505        and      %g4, SPARC_PSR_PIL_MASK, %g4
     506        andn     %l0, SPARC_PSR_PIL_MASK, %g5
     507        or       %g4, %g5, %g5
    508508dont_fix_pil:
    509509        wr       %g5, SPARC_PSR_ET_MASK, %psr ! **** ENABLE TRAPS ****
Note: See TracChangeset for help on using the changeset viewer.