aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/addrspace.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-01 12:34:35 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:32:33 -0400
commit5090dfb5bcf51479370b501e934edadc4d781f67 (patch)
tree77644f77c4884a8aee74fa985b166a1257cbe255 /include/asm-mips/addrspace.h
parent6aaf7786ed02da7797432708fbcdd242f9c0764e (diff)
Provide 64-bit address space definitions for the Sibyte SB1 CPU core.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/addrspace.h')
-rw-r--r--include/asm-mips/addrspace.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-mips/addrspace.h b/include/asm-mips/addrspace.h
index a54cdd417956..7abdb926faf1 100644
--- a/include/asm-mips/addrspace.h
+++ b/include/asm-mips/addrspace.h
@@ -162,6 +162,16 @@
162#define TO_PHYS_MASK _LLCONST_(0x000000ffffffffff) /* 2^^40 - 1 */ 162#define TO_PHYS_MASK _LLCONST_(0x000000ffffffffff) /* 2^^40 - 1 */
163#endif 163#endif
164 164
165#if defined(CONFIG_CPU_SB1)
166#define KUSIZE _LLCONST_(0x0000100000000000) /* 2^^44 */
167#define KUSIZE_64 _LLCONST_(0x0000100000000000) /* 2^^44 */
168#define K0SIZE _LLCONST_(0x0000100000000000) /* 2^^44 */
169#define K1SIZE _LLCONST_(0x0000100000000000) /* 2^^44 */
170#define K2SIZE _LLCONST_(0x0000ffff80000000)
171#define KSEGSIZE _LLCONST_(0x0000ffff80000000) /* max syssegsz */
172#define TO_PHYS_MASK _LLCONST_(0x00000fffffffffff) /* 2^^44 - 1 */
173#endif
174
165/* 175/*
166 * Further names for SGI source compatibility. These are stolen from 176 * Further names for SGI source compatibility. These are stolen from
167 * IRIX's <sys/mips_addrspace.h>. 177 * IRIX's <sys/mips_addrspace.h>.