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:
Till Straumann
2008-07-23 06:54:18 +00:00
parent b7d1f290d7
commit 36ba3fc4d1
3 changed files with 11 additions and 1 deletions

View File

@@ -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

View File

@@ -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
*/

View File

@@ -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;