summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/virtex/include/bsp.h
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2008-07-23 06:54:18 +0000
committerTill Straumann <strauman@slac.stanford.edu>2008-07-23 06:54:18 +0000
commit36ba3fc4d1c48db08568e35f67bb5f8c436626cf (patch)
tree8fdddd81fd56dd25002705b479d469046fdc8238 /c/src/lib/libbsp/powerpc/virtex/include/bsp.h
parent2008-07-22 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-36ba3fc4d1c48db08568e35f67bb5f8c436626cf.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/include/bsp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h
index 607996b325..1984bfb024 100644
--- a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h
@@ -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
*/