summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-02-20 21:43:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-02-20 21:43:02 +0000
commitb95aedf3b4c152a949c7ec5f99fb8efaa67ef4be (patch)
tree6ccdfd87721c9597565d456f0dd0571d5ced676e /c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
parent2003-02-20 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-b95aedf3b4c152a949c7ec5f99fb8efaa67ef4be.tar.bz2
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps * vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h, vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use the vmeUniverse VME-PCI bridge driver.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h b/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
new file mode 100644
index 0000000000..04347d270a
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
@@ -0,0 +1,29 @@
+#ifndef RTEMS_BSP_VME_CONFIG_H
+#define RTEMS_BSP_VME_CONFIG_H
+/* $Id$ */
+
+/* BSP specific address space configuration parameters */
+
+/*
+ * The BSP maps VME address ranges into
+ * one BAT.
+ * NOTE: the BSP (startup/bspstart.c) uses
+ * hardcoded window lengths that match this
+ * layout:
+ */
+#define _VME_A32_WIN0_ON_PCI 0x10000000
+#define _VME_A24_ON_PCI 0x1f000000
+#define _VME_A16_ON_PCI 0x1fff0000
+
+/* start of the A32 window on the VME bus
+ * TODO: this should perhaps be a configuration option
+ */
+#define _VME_A32_WIN0_ON_VME 0x20000000
+
+/* if _VME_DRAM_OFFSET is defined, the BSP
+ * will map our RAM onto the VME bus, starting
+ * at _VME_DRAM_OFFSET
+ */
+#define _VME_DRAM_OFFSET 0xc0000000
+
+#endif