summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/cpu-common/cpu/addrspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/cpu-common/cpu/addrspace.h')
-rw-r--r--arch/sh/include/cpu-common/cpu/addrspace.h16
1 files changed, 16 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 000000000..d8bf5d7d2
--- /dev/null
+++ b/arch/sh/include/cpu-common/cpu/addrspace.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Definitions for the address spaces of the SH-2 CPUs.
+ *
+ * Copyright (C) 2003 Paul Mundt
+ */
+#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 */