forked from Imagelibrary/rtems
2002-11-13 Jay Monkman <jtm@smoothsmoothie.com>
* irq/irq_asm.S, irq/irq_init.c: Fixes a bug with handling the situation where we are processing an IRQ, and we receive an FIQ.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-11-13 Jay Monkman <jtm@smoothsmoothie.com>
|
||||||
|
|
||||||
|
* irq/irq_asm.S, irq/irq_init.c: Fixes a bug with handling the
|
||||||
|
situation where we are processing an IRQ, and we receive an FIQ.
|
||||||
|
|
||||||
2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>
|
2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>
|
||||||
|
|
||||||
* irq/irq_asm.S: Add FIQ support.
|
* irq/irq_asm.S: Add FIQ support.
|
||||||
|
|||||||
@@ -62,6 +62,12 @@ _ISR_Handler:
|
|||||||
cmp r0, #0x12 /* is it INT mode? */
|
cmp r0, #0x12 /* is it INT mode? */
|
||||||
beq exitit
|
beq exitit
|
||||||
|
|
||||||
|
/* check to see if we interrupted nd 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 */
|
/* If thread dispatching is disabled, exit */
|
||||||
cmp r1, #0
|
cmp r1, #0
|
||||||
bne exitit
|
bne exitit
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
#include <irq.h>
|
#include <irq.h>
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <rtems/bspIo.h>
|
#include <rtems/bspIo.h>
|
||||||
#include <registers.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* default int vector
|
* default int vector
|
||||||
|
|||||||
Reference in New Issue
Block a user