diff options
Diffstat (limited to 'include/asm-mips/addrspace.h')
-rw-r--r-- | include/asm-mips/addrspace.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/include/asm-mips/addrspace.h b/include/asm-mips/addrspace.h index 1386af1cb7d9..45c706e34df1 100644 --- a/include/asm-mips/addrspace.h +++ b/include/asm-mips/addrspace.h | |||
@@ -10,7 +10,6 @@ | |||
10 | #ifndef _ASM_ADDRSPACE_H | 10 | #ifndef _ASM_ADDRSPACE_H |
11 | #define _ASM_ADDRSPACE_H | 11 | #define _ASM_ADDRSPACE_H |
12 | 12 | ||
13 | #include <linux/config.h> | ||
14 | #include <spaces.h> | 13 | #include <spaces.h> |
15 | 14 | ||
16 | /* | 15 | /* |
@@ -133,57 +132,22 @@ | |||
133 | || defined (CONFIG_CPU_NEVADA) \ | 132 | || defined (CONFIG_CPU_NEVADA) \ |
134 | || defined (CONFIG_CPU_TX49XX) \ | 133 | || defined (CONFIG_CPU_TX49XX) \ |
135 | || defined (CONFIG_CPU_MIPS64) | 134 | || defined (CONFIG_CPU_MIPS64) |
136 | #define KUSIZE _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
137 | #define KUSIZE_64 _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
138 | #define K0SIZE _LLCONST_(0x0000001000000000) /* 2^^36 */ | ||
139 | #define K1SIZE _LLCONST_(0x0000001000000000) /* 2^^36 */ | ||
140 | #define K2SIZE _LLCONST_(0x000000ff80000000) | ||
141 | #define KSEGSIZE _LLCONST_(0x000000ff80000000) /* max syssegsz */ | ||
142 | #define TO_PHYS_MASK _LLCONST_(0x0000000fffffffff) /* 2^^36 - 1 */ | 135 | #define TO_PHYS_MASK _LLCONST_(0x0000000fffffffff) /* 2^^36 - 1 */ |
143 | #endif | 136 | #endif |
144 | 137 | ||
145 | #if defined (CONFIG_CPU_R8000) | 138 | #if defined (CONFIG_CPU_R8000) |
146 | /* We keep KUSIZE consistent with R4000 for now (2^^40) instead of (2^^48) */ | 139 | /* We keep KUSIZE consistent with R4000 for now (2^^40) instead of (2^^48) */ |
147 | #define KUSIZE _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
148 | #define KUSIZE_64 _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
149 | #define K0SIZE _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
150 | #define K1SIZE _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
151 | #define K2SIZE _LLCONST_(0x0001000000000000) | ||
152 | #define KSEGSIZE _LLCONST_(0x0000010000000000) /* max syssegsz */ | ||
153 | #define TO_PHYS_MASK _LLCONST_(0x000000ffffffffff) /* 2^^40 - 1 */ | 140 | #define TO_PHYS_MASK _LLCONST_(0x000000ffffffffff) /* 2^^40 - 1 */ |
154 | #endif | 141 | #endif |
155 | 142 | ||
156 | #if defined (CONFIG_CPU_R10000) | 143 | #if defined (CONFIG_CPU_R10000) |
157 | #define KUSIZE _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
158 | #define KUSIZE_64 _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
159 | #define K0SIZE _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
160 | #define K1SIZE _LLCONST_(0x0000010000000000) /* 2^^40 */ | ||
161 | #define K2SIZE _LLCONST_(0x00000fff80000000) | ||
162 | #define KSEGSIZE _LLCONST_(0x00000fff80000000) /* max syssegsz */ | ||
163 | #define TO_PHYS_MASK _LLCONST_(0x000000ffffffffff) /* 2^^40 - 1 */ | 144 | #define TO_PHYS_MASK _LLCONST_(0x000000ffffffffff) /* 2^^40 - 1 */ |
164 | #endif | 145 | #endif |
165 | 146 | ||
166 | #if defined(CONFIG_CPU_SB1) || defined(CONFIG_CPU_SB1A) | 147 | #if defined(CONFIG_CPU_SB1) || defined(CONFIG_CPU_SB1A) |
167 | #define KUSIZE _LLCONST_(0x0000100000000000) /* 2^^44 */ | ||
168 | #define KUSIZE_64 _LLCONST_(0x0000100000000000) /* 2^^44 */ | ||
169 | #define K0SIZE _LLCONST_(0x0000100000000000) /* 2^^44 */ | ||
170 | #define K1SIZE _LLCONST_(0x0000100000000000) /* 2^^44 */ | ||
171 | #define K2SIZE _LLCONST_(0x0000ffff80000000) | ||
172 | #define KSEGSIZE _LLCONST_(0x0000ffff80000000) /* max syssegsz */ | ||
173 | #define TO_PHYS_MASK _LLCONST_(0x00000fffffffffff) /* 2^^44 - 1 */ | 148 | #define TO_PHYS_MASK _LLCONST_(0x00000fffffffffff) /* 2^^44 - 1 */ |
174 | #endif | 149 | #endif |
175 | 150 | ||
176 | /* | ||
177 | * Further names for SGI source compatibility. These are stolen from | ||
178 | * IRIX's <sys/mips_addrspace.h>. | ||
179 | */ | ||
180 | #define KUBASE _LLCONST_(0) | ||
181 | #define KUSIZE_32 _LLCONST_(0x0000000080000000) /* KUSIZE | ||
182 | for a 32 bit proc */ | ||
183 | #define K0BASE_EXL_WR _LLCONST_(0xa800000000000000) /* exclusive on write */ | ||
184 | #define K0BASE_NONCOH _LLCONST_(0x9800000000000000) /* noncoherent */ | ||
185 | #define K0BASE_EXL _LLCONST_(0xa000000000000000) /* exclusive */ | ||
186 | |||
187 | #ifndef CONFIG_CPU_R8000 | 151 | #ifndef CONFIG_CPU_R8000 |
188 | 152 | ||
189 | /* | 153 | /* |