forked from Imagelibrary/rtems
2008-03-20 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: don't disable irqs at the interrupt controller (PIC) during initialization -- this caused problems where some BSPs's BSP_disable_irq_at_pic() routine did not ignore IRQ lines associated with cascaded PICs. Rely on the BSP (BSP_setup_the_pic()) to provide a good initial setup.
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
2008-03-20 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
|
* new-exceptions/bspsupport/irq.c: don't disable irqs
|
||||||
|
at the interrupt controller (PIC) during initialization -- this
|
||||||
|
caused problems where some BSPs's BSP_disable_irq_at_pic() routine
|
||||||
|
did not ignore IRQ lines associated with cascaded PICs.
|
||||||
|
Rely on the BSP (BSP_setup_the_pic()) to provide a good
|
||||||
|
initial setup.
|
||||||
|
|
||||||
2008-03-13 Till Straumann <strauman@slac.stanford.edu>
|
2008-03-13 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* new-exceptions/bspsupport/ppc_exc_asm_macros.h,
|
* new-exceptions/bspsupport/ppc_exc_asm_macros.h,
|
||||||
|
|||||||
@@ -353,7 +353,14 @@ int BSP_rtems_irq_mngt_set(rtems_irq_global_settings* config)
|
|||||||
/* at least one handler registered */
|
/* at least one handler registered */
|
||||||
BSP_enable_irq_at_pic(i);
|
BSP_enable_irq_at_pic(i);
|
||||||
} else {
|
} else {
|
||||||
|
/* Do NOT disable; there might be boards with cascaded
|
||||||
|
* interrupt controllers where the BSP (incorrectly) does
|
||||||
|
* not ignore the cascaded interrupts in BSP_disable_irq_at_pic()!
|
||||||
|
* Instead, we rely on BSP_setup_the_pic() for a good
|
||||||
|
* initial configuration.
|
||||||
|
*
|
||||||
BSP_disable_irq_at_pic(i);
|
BSP_disable_irq_at_pic(i);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user