mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/clock/p_clock.c: (run-time) check for e500-cpu and install different ISR for that type of CPU.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-12-01 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* shared/clock/p_clock.c: (run-time) check for e500-cpu
|
||||
and install different ISR for that type of CPU.
|
||||
|
||||
2007-12-01 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* shared/pci/detect_raven_bridge.c: use ifdef mvme2100
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <bsp.h>
|
||||
#include <bsp/irq.h>
|
||||
#include <libcpu/c_clock.h>
|
||||
#include <libcpu/cpuIdent.h>
|
||||
|
||||
static rtems_irq_connect_data clockIrqData;
|
||||
static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER,
|
||||
@@ -32,5 +33,8 @@ int BSP_disconnect_clock_handler (void)
|
||||
|
||||
int BSP_connect_clock_handler (void)
|
||||
{
|
||||
if ( ppc_cpu_is_bookE() )
|
||||
clockIrqData.hdl = clockIsrBookE;
|
||||
|
||||
return BSP_install_rtems_irq_handler (&clockIrqData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user