forked from Imagelibrary/rtems
bsps/irq: Remove BSP_INTERRUPT_VECTOR_MIN
Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector numbers start with zero. The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit and building all BSPs. Update #3269.
This commit is contained in:
@@ -35,8 +35,6 @@
|
||||
* @{
|
||||
*/
|
||||
|
||||
#define BSP_INTERRUPT_VECTOR_MIN 0
|
||||
|
||||
#ifdef ARM_MULTILIB_ARCH_V4
|
||||
#define LPC24XX_IRQ_WDT 0
|
||||
#define LPC24XX_IRQ_SOFTWARE 1
|
||||
|
||||
@@ -91,7 +91,7 @@ rtems_status_code bsp_interrupt_facility_initialize(void)
|
||||
/* Use IRQ category */
|
||||
VICIntSelect = 0;
|
||||
|
||||
for (i = BSP_INTERRUPT_VECTOR_MIN; i <= BSP_INTERRUPT_VECTOR_MAX; ++i) {
|
||||
for (i = 0; i <= BSP_INTERRUPT_VECTOR_MAX; ++i) {
|
||||
/* Use the vector address register to store the vector number */
|
||||
addr [i] = i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user