summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/cpu-common/cpu/addrspace.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-07-29 22:46:55 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-29 22:46:55 +0900
commit93dc544cf4892b9188d7d0d4946b0394020b4551 (patch)
tree5b518ad829e53e23304cc463e8013b66f1c087a0 /arch/sh/include/cpu-common/cpu/addrspace.h
parent1795cf48b322b4d19230a40dbe7181acedd34a94 (diff)
downloadtalos-op-linux-93dc544cf4892b9188d7d0d4946b0394020b4551.tar.gz
talos-op-linux-93dc544cf4892b9188d7d0d4946b0394020b4551.zip
sh: Provide common CPU headers, prune the SH-2 and SH-2A directories.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/cpu-common/cpu/addrspace.h')
-rw-r--r--arch/sh/include/cpu-common/cpu/addrspace.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-common/cpu/addrspace.h b/arch/sh/include/cpu-common/cpu/addrspace.h
new file mode 100644
index 000000000000..2b9ab93efa4e
--- /dev/null
+++ b/arch/sh/include/cpu-common/cpu/addrspace.h
@@ -0,0 +1,19 @@
+/*
+ * Definitions for the address spaces of the SH-2 CPUs.
+ *
+ * Copyright (C) 2003 Paul Mundt
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ */
+#ifndef __ASM_CPU_SH2_ADDRSPACE_H
+#define __ASM_CPU_SH2_ADDRSPACE_H
+
+#define P0SEG 0x00000000
+#define P1SEG 0x80000000
+#define P2SEG 0xa0000000
+#define P3SEG 0xc0000000
+#define P4SEG 0xe0000000
+
+#endif /* __ASM_CPU_SH2_ADDRSPACE_H */
OpenPOWER on IntegriCloud