2005-04-29 Jennifer Averett <jennifer.averett@oarcorp.com>

* irq/irq.c, start/start.S: Removed warnings
This commit is contained in:
Jennifer Averett
2005-04-29 13:50:05 +00:00
parent 6e1daa0be3
commit 16c4793093
3 changed files with 5 additions and 26 deletions

View File

@@ -1,3 +1,7 @@
2005-04-29 Jennifer Averett <jennifer.averett@oarcorp.com>
* irq/irq.c, start/start.S: Removed warnings
2005-04-29 Jennifer Averett <jennifer.averett@oarcorp.com>
* New BSP.

View File

@@ -82,31 +82,6 @@ static inline int is_processor_irq(const rtems_irq_symbolic_name irqLine)
* ------------------------ RTEMS Irq helper functions ----------------
*/
/*
* Caution : this function assumes the variable "internal_config"
* is already set and that the tables it contains are still valid
* and accessible.
*/
static void compute_i8259_masks_from_prio ()
{
int i;
int j;
/*
* Always mask at least current interrupt to prevent re-entrance
*/
for (i=BSP_ISA_IRQ_LOWEST_OFFSET; i < BSP_ISA_IRQ_LOWEST_OFFSET + BSP_ISA_IRQ_NUMBER; i++) {
* ((unsigned short*) &irq_mask_or_tbl[i]) = (1 << i);
for (j = BSP_ISA_IRQ_LOWEST_OFFSET; j < BSP_ISA_IRQ_LOWEST_OFFSET + BSP_ISA_IRQ_NUMBER; j++) {
/*
* Mask interrupts at i8259 level that have a lower priority
*/
if (internal_config->irqPrioTbl [i] > internal_config->irqPrioTbl [j]) {
* ((unsigned short*) &irq_mask_or_tbl[i]) |= (1 << j);
}
}
}
}
/*
* This function check that the value given for the irq line
* is valid.

View File

@@ -36,7 +36,7 @@
#include <bsp.h>
*/
#include <asm.h>
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <libcpu/io.h>
#include <ppc-asm.h>