diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-07-14 03:34:18 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:51 -0400 |
commit | 8f40611d2b184ca5d525075d273854929cf8d1d0 (patch) | |
tree | 962ef8dfa515cee330f506dc4ceac83670d0f84e /include/asm-mips/cpu.h | |
parent | 699dbc90e8c7baecae197fb331773f505a46a1eb (diff) |
Detect the MIPS R2 vectored interrupt, external interrupt controller
options and the precense of the MT ASE.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/cpu.h')
-rw-r--r-- | include/asm-mips/cpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/cpu.h b/include/asm-mips/cpu.h index e6927442f7b..3bbb6431d21 100644 --- a/include/asm-mips/cpu.h +++ b/include/asm-mips/cpu.h | |||
@@ -227,6 +227,8 @@ | |||
227 | #define MIPS_CPU_LLSC 0x00010000 /* CPU has ll/sc instructions */ | 227 | #define MIPS_CPU_LLSC 0x00010000 /* CPU has ll/sc instructions */ |
228 | #define MIPS_CPU_SUBSET_CACHES 0x00020000 /* P-cache subset enforced */ | 228 | #define MIPS_CPU_SUBSET_CACHES 0x00020000 /* P-cache subset enforced */ |
229 | #define MIPS_CPU_PREFETCH 0x00040000 /* CPU has usable prefetch */ | 229 | #define MIPS_CPU_PREFETCH 0x00040000 /* CPU has usable prefetch */ |
230 | #define MIPS_CPU_VINT 0x00080000 /* CPU supports MIPSR2 vectored interrupts */ | ||
231 | #define MIPS_CPU_VEIC 0x00100000 /* CPU supports MIPSR2 external interrupt controller mode */ | ||
230 | 232 | ||
231 | /* | 233 | /* |
232 | * CPU ASE encodings | 234 | * CPU ASE encodings |
@@ -236,5 +238,7 @@ | |||
236 | #define MIPS_ASE_MIPS3D 0x00000004 /* MIPS-3D */ | 238 | #define MIPS_ASE_MIPS3D 0x00000004 /* MIPS-3D */ |
237 | #define MIPS_ASE_SMARTMIPS 0x00000008 /* SmartMIPS */ | 239 | #define MIPS_ASE_SMARTMIPS 0x00000008 /* SmartMIPS */ |
238 | #define MIPS_ASE_DSP 0x00000010 /* Signal Processing ASE */ | 240 | #define MIPS_ASE_DSP 0x00000010 /* Signal Processing ASE */ |
241 | #define MIPS_ASE_MIPSMT 0x00000020 /* CPU supports MIPS MT */ | ||
242 | |||
239 | 243 | ||
240 | #endif /* _ASM_CPU_H */ | 244 | #endif /* _ASM_CPU_H */ |