forked from Imagelibrary/rtems
2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>
* irq/irq_asm.S: Add FIQ support.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>
|
||||
|
||||
* irq/irq_asm.S: Add FIQ support.
|
||||
|
||||
2002-07-30 Jay Monkman <jtm@smoothsmoothie.com>
|
||||
|
||||
* irq/irq_asm.S: ARM port works well enough to run all sptests,
|
||||
|
||||
@@ -56,6 +56,12 @@ _ISR_Handler:
|
||||
sub r1, r1,#1
|
||||
str r1, [r0]
|
||||
|
||||
/* check to see if we interrupted and INT (with FIQ?) */
|
||||
mrs r0, spsr
|
||||
and r0, r0, #0x1f
|
||||
cmp r0, #0x12 /* is it INT mode? */
|
||||
beq exitit
|
||||
|
||||
/* If thread dispatching is disabled, exit */
|
||||
cmp r1, #0
|
||||
bne exitit
|
||||
|
||||
Reference in New Issue
Block a user