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:
Joel Sherrill
2002-11-13 15:48:20 +00:00
parent aae96a2980
commit dd1ad07b2c
3 changed files with 11 additions and 1 deletions

View File

@@ -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>
* irq/irq_asm.S: Add FIQ support.

View File

@@ -62,6 +62,12 @@ _ISR_Handler:
cmp r0, #0x12 /* is it INT mode? */
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 */
cmp r1, #0
bne exitit

View File

@@ -16,7 +16,6 @@
#include <irq.h>
#include <bsp.h>
#include <rtems/bspIo.h>
#include <registers.h>
/*
* default int vector