mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2008-07-22 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c, include/bsp.h: define BSP_PPC403_CLOCK_HOOK_EXCEPTION so that we hook the timer exception rather than going through the interrupt dispatcher.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2008-07-22 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* irq/irq_init.c, include/bsp.h:
|
||||
define BSP_PPC403_CLOCK_HOOK_EXCEPTION
|
||||
so that we hook the timer exception rather than going
|
||||
through the interrupt dispatcher.
|
||||
|
||||
2008-07-21 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* startup/bspstart.c: Removed MSR_CE from interrupt
|
||||
|
||||
@@ -62,7 +62,6 @@ extern "C" {
|
||||
#include <bsp/irq.h>
|
||||
#include <bsp/vectors.h>
|
||||
|
||||
|
||||
/* Constants */
|
||||
|
||||
extern uint32_t _HeapSize;
|
||||
@@ -82,6 +81,8 @@ extern uint32_t _top_of_ram;
|
||||
extern xilTemac_driver_attach(struct rtems_bsdnet_ifconfig*, int );
|
||||
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH xilTemac_driver_attach
|
||||
|
||||
#define BSP_PPC403_CLOCK_HOOK_EXCEPTION ASM_BOOKE_DEC_VECTOR
|
||||
|
||||
/*
|
||||
* Device Driver Table Entries
|
||||
*/
|
||||
|
||||
@@ -99,10 +99,12 @@ int C_dispatch_irq_handler (CPU_Interrupt_frame *frame, unsigned int excNum)
|
||||
case ASM_EXT_VECTOR:
|
||||
BSP_irq_handle_at_opbintc();
|
||||
break;
|
||||
#if 0 /* We now let the clock driver hook the exception directly */
|
||||
case ASM_BOOKE_DEC_VECTOR:
|
||||
BSP_rtems_irq_tbl[BSP_PIT].hdl
|
||||
(BSP_rtems_irq_tbl[BSP_PIT].handle);
|
||||
break;
|
||||
#endif
|
||||
#if 0 /* Critical interrupts not yet supported */
|
||||
case ASM_BOOKE_CRIT_VECTOR:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user