2007-11-30 Till Straumann <strauman@slac.stanford.edu>

* irq/irq.h, irq/irq_init.c: Removed the definition
	of ASM_IRQ_VECTOR_BASE; this symbol was only use to
	initialize the irqBase member of the rtems_irq_global_settings
	struct. However, irqBase is an rtems_irq_symbolic_name,
	so using BSP_LOWEST_OFFSET is more appropriate.
This commit is contained in:
Till Straumann
2007-11-30 20:28:02 +00:00
parent 10483cba75
commit 8da6d77d10
3 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq_init.c: Removed the definition
of ASM_IRQ_VECTOR_BASE; this symbol was only use to
initialize the irqBase member of the rtems_irq_global_settings
struct. However, irqBase is an rtems_irq_symbolic_name,
so using BSP_LOWEST_OFFSET is more appropriate.
2007-11-30 Till Straumann <strauman@slac.stanford.edu> 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq.c (removed), irq/no_pic.c (added), * irq/irq.h, irq/irq.c (removed), irq/no_pic.c (added),
irq/irq_init.c, Makefile.am: The PSIM BSP (currently) irq/irq_init.c, Makefile.am: The PSIM BSP (currently)

View File

@@ -24,8 +24,6 @@
#define BSP_SHARED_HANDLER_SUPPORT 1 #define BSP_SHARED_HANDLER_SUPPORT 1
#include <rtems/irq.h> #include <rtems/irq.h>
#define BSP_ASM_IRQ_VECTOR_BASE 0x0
#ifndef ASM #ifndef ASM
/* /*

View File

@@ -97,7 +97,7 @@ void BSP_rtems_irq_mng_init(unsigned cpuId)
initial_config.irqNb = BSP_IRQ_NUMBER; initial_config.irqNb = BSP_IRQ_NUMBER;
initial_config.defaultEntry = defaultIrq; initial_config.defaultEntry = defaultIrq;
initial_config.irqHdlTbl = rtemsIrq; initial_config.irqHdlTbl = rtemsIrq;
initial_config.irqBase = BSP_ASM_IRQ_VECTOR_BASE; initial_config.irqBase = BSP_LOWEST_OFFSET;
initial_config.irqPrioTbl = irqPrioTable; initial_config.irqPrioTbl = irqPrioTable;
if (!BSP_rtems_irq_mngt_set(&initial_config)) { if (!BSP_rtems_irq_mngt_set(&initial_config)) {