summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2007-01-19 23:01:21 +0000
committerTill Straumann <strauman@slac.stanford.edu>2007-01-19 23:01:21 +0000
commitbc2083c176465947e3ff0edc0fae7fc20c6a3824 (patch)
tree31d23c97e1f824c456bba632f7e739ea2d8540a5 /c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h
parent * Makefile.am, (diff)
downloadrtems-bc2083c176465947e3ff0edc0fae7fc20c6a3824.tar.bz2
* mvme5500/Makefile.am, mvme5500/preinstall.am,
* mvme5500/vme/VMEConfig.h, mvme5500/vme/VME.h, * mvme5500/vme/vmeconfig.c: removed copies of vmeconfig.c, VME.h - use generic versions instead.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h')
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h b/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h
index 7bc0c8e44a..0fdbfc9d0e 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h
+++ b/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h
@@ -14,6 +14,9 @@
#define _VME_A24_ON_PCI 0x9f000000
#define _VME_A16_ON_PCI 0x9fff0000
+/* Reuse BAT 0 for VME */
+#define BSP_VME_BAT_IDX 0
+
/* start of the A32 window on the VME bus
* TODO: this should perhaps be a configuration option
*/
@@ -25,4 +28,9 @@
*/
#define _VME_DRAM_OFFSET 0x90000000
+#define BSP_VME_UNIVERSE_INSTALL_IRQ_MGR \
+ do { \
+ vmeUniverseInstallIrqMgr(0,64+12,1,64+13); \
+ } while (0)
+
#endif