Changeset a7bafd5 in rtems


Ignore:
Timestamp:
Aug 26, 2002, 1:03:01 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
44c44c5
Parents:
2085b08e
Message:

2002-08-26 Eric Norum <eric.norum@…>

  • cpu_asm.S: More PR267 tinkering which eliminates some conditional compilation.
Location:
cpukit/score/cpu/m68k
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/m68k/ChangeLog

    r2085b08e ra7bafd5  
     12002-08-26      Eric Norum <eric.norum@usask.ca>
     2
     3        * cpu_asm.S: More PR267 tinkering which eliminates some conditional
     4        compilation.
     5
    162002-08-14      Brett Swimley <brett.swimley@aedinc.net>
    27
  • cpukit/score/cpu/m68k/cpu_asm.S

    r2085b08e ra7bafd5  
    140140
    141141#if ( CPU_HAS_SOFTWARE_INTERRUPT_STACK == 1 )
    142         tstl    SYM (_ISR_Nest_level)   | Interrupting an interrupt handler?
    143         bne     2f                      | Yes, just skip over stack switch code
    144142        movel   _CPU_Interrupt_stack_high,a0    | a0 now point just above interrupt stack
    145143        cmpl    _CPU_Interrupt_stack_low,a7     | stack below interrupt stack?
     
    168166        jbsr    a0@                      | invoke the user ISR
    169167        addql   #4,a7                    | remove vector number
     168        subql   #1,SYM(_ISR_Nest_level) | Reduce interrupt-nesting count
    170169
    171170#if ( CPU_HAS_SOFTWARE_INTERRUPT_STACK == 1 )
    172         subql   #1,SYM(_ISR_Nest_level) | Reduce interrupt-nesting count
    173         bne     1f                      | Skip if return to interrupt
    174171        movel   _CPU_Interrupt_stack_high,a0
    175172        subql   #4,a0
     
    178175        movel   (a7),a7                 | Restore task stack pointer
    1791761:
    180 #else
    181         subql   #1,SYM (_ISR_Nest_level) | one less nest level
    182177#endif /* CPU_HAS_SOFTWARE_INTERRUPT_STACK == 1 */
    183178        subql   #1,SYM (_Thread_Dispatch_disable_level)
Note: See TracChangeset for help on using the changeset viewer.