aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/processor.h')
-rw-r--r--include/asm-i386/processor.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h
index 882d3f8fbbac..77e263267aa6 100644
--- a/include/asm-i386/processor.h
+++ b/include/asm-i386/processor.h
@@ -143,21 +143,6 @@ static inline void native_cpuid(unsigned int *eax, unsigned int *ebx,
143#define load_cr3(pgdir) write_cr3(__pa(pgdir)) 143#define load_cr3(pgdir) write_cr3(__pa(pgdir))
144 144
145/* 145/*
146 * Intel CPU features in CR4
147 */
148#define X86_CR4_VME 0x0001 /* enable vm86 extensions */
149#define X86_CR4_PVI 0x0002 /* virtual interrupts flag enable */
150#define X86_CR4_TSD 0x0004 /* disable time stamp at ipl 3 */
151#define X86_CR4_DE 0x0008 /* enable debugging extensions */
152#define X86_CR4_PSE 0x0010 /* enable page size extensions */
153#define X86_CR4_PAE 0x0020 /* enable physical address extensions */
154#define X86_CR4_MCE 0x0040 /* Machine check enable */
155#define X86_CR4_PGE 0x0080 /* enable global pages */
156#define X86_CR4_PCE 0x0100 /* enable performance counters at ipl 3 */
157#define X86_CR4_OSFXSR 0x0200 /* enable fast FPU save and restore */
158#define X86_CR4_OSXMMEXCPT 0x0400 /* enable unmasked SSE exceptions */
159
160/*
161 * Save the cr4 feature set we're using (ie 146 * Save the cr4 feature set we're using (ie
162 * Pentium 4MB enable and PPro Global page 147 * Pentium 4MB enable and PPro Global page
163 * enable), so that any CPU's that boot up 148 * enable), so that any CPU's that boot up
@@ -184,26 +169,6 @@ static inline void clear_in_cr4 (unsigned long mask)
184} 169}
185 170
186/* 171/*
187 * NSC/Cyrix CPU configuration register indexes
188 */
189
190#define CX86_PCR0 0x20
191#define CX86_GCR 0xb8
192#define CX86_CCR0 0xc0
193#define CX86_CCR1 0xc1
194#define CX86_CCR2 0xc2
195#define CX86_CCR3 0xc3
196#define CX86_CCR4 0xe8
197#define CX86_CCR5 0xe9
198#define CX86_CCR6 0xea
199#define CX86_CCR7 0xeb
200#define CX86_PCR1 0xf0
201#define CX86_DIR0 0xfe
202#define CX86_DIR1 0xff
203#define CX86_ARR_BASE 0xc4
204#define CX86_RCR_BASE 0xdc
205
206/*
207 * NSC/Cyrix CPU indexed register access macros 172 * NSC/Cyrix CPU indexed register access macros
208 */ 173 */
209 174