summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/hppa1.1/include/runway.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 02:32:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-09 02:32:37 +0000
commit9af31a6e92b51e5dbaa3d6212b607828e506ef85 (patch)
treebca9978af008bfe196e98c68b2e849daa7875bd9 /c/src/lib/libcpu/hppa1.1/include/runway.h
parentRemoved runway directory and moved contents to include. (diff)
downloadrtems-9af31a6e92b51e5dbaa3d6212b607828e506ef85.tar.bz2
Moved include files to hppa1.1 subdirectory and put their sources
in the include directory.
Diffstat (limited to 'c/src/lib/libcpu/hppa1.1/include/runway.h')
-rw-r--r--c/src/lib/libcpu/hppa1.1/include/runway.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/hppa1.1/include/runway.h b/c/src/lib/libcpu/hppa1.1/include/runway.h
new file mode 100644
index 0000000000..41aafe26ef
--- /dev/null
+++ b/c/src/lib/libcpu/hppa1.1/include/runway.h
@@ -0,0 +1,37 @@
+/*
+ * File: $RCSfile$
+ * Project: PixelFlow
+ * Created: 94/11/29
+ * RespEngr: tony bennett
+ * Revision: $Revision$
+ * Last Mod: $Date$
+ *
+ * Description:
+ * definitions specific to the runway bus
+ *
+ * TODO:
+ * Add lots more.
+ *
+ * $Id$
+ */
+
+#ifndef _INCLUDE_RUNWAY_H
+#define _INCLUDE_RUNWAY_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define HPPA_RUNWAY_PROC_HPA_BASE ((void *) 0xFFFA0000)
+
+/* given a processor number, where is its HPA? */
+#define HPPA_RUNWAY_HPA(cpu) \
+ ((rtems_unsigned32) (HPPA_RUNWAY_PROC_HPA_BASE + ((cpu) * 0x2000)))
+
+#define HPPA_RUNWAY_REG_IO_EIR_OFFSET 0x000
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ! _INCLUDE_RUNWAY_H */