From 5090dfb5bcf51479370b501e934edadc4d781f67 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 1 Oct 2005 17:34:35 +0100 Subject: [PATCH] Provide 64-bit address space definitions for the Sibyte SB1 CPU core. Signed-off-by: Ralf Baechle --- include/asm-mips/addrspace.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 @@ #define TO_PHYS_MASK _LLCONST_(0x000000ffffffffff) /* 2^^40 - 1 */ #endif +#if defined(CONFIG_CPU_SB1) +#define KUSIZE _LLCONST_(0x0000100000000000) /* 2^^44 */ +#define KUSIZE_64 _LLCONST_(0x0000100000000000) /* 2^^44 */ +#define K0SIZE _LLCONST_(0x0000100000000000) /* 2^^44 */ +#define K1SIZE _LLCONST_(0x0000100000000000) /* 2^^44 */ +#define K2SIZE _LLCONST_(0x0000ffff80000000) +#define KSEGSIZE _LLCONST_(0x0000ffff80000000) /* max syssegsz */ +#define TO_PHYS_MASK _LLCONST_(0x00000fffffffffff) /* 2^^44 - 1 */ +#endif + /* * Further names for SGI source compatibility. These are stolen from * IRIX's . -- 2.20.1