File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ extern "C" {
3535#define X86_FEATURE_PAE 0x00000040 /* physical address extension is present */
3636#define X86_FEATURE_CX8 0x00000100 /* CMPXCHG8B instruction present */
3737#define X86_FEATURE_SYSCALL 0x00000800 /* SYSCALL/SYSRET support present */
38- #define X86_FEATURE_MTTR 0x00001000 /* Memory type range registers are present */
38+ #define X86_FEATURE_MTRR 0x00001000 /* Memory type range registers are present */
3939#define X86_FEATURE_PGE 0x00002000 /* Page Global Enable */
4040#define X86_FEATURE_CMOV 0x00008000 /* "Conditional move" instruction supported */
4141#define X86_FEATURE_PAT 0x00010000 /* Page Attribute Table is supported */
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ extern "C"
4040#define X86_FEATURE_CX8 0x00000100 /* CMPXCHG8B instruction present */
4141#define X86_FEATURE_APIC 0x00000200 /* APIC is present */
4242#define X86_FEATURE_SYSCALL 0x00000800 /* SYSCALL/SYSRET support present */
43- #define X86_FEATURE_MTTR 0x00001000 /* Memory type range registers are present */
43+ #define X86_FEATURE_MTRR 0x00001000 /* Memory type range registers are present */
4444#define X86_FEATURE_PGE 0x00002000 /* Page Global Enable */
4545#define X86_FEATURE_CMOV 0x00008000 /* "Conditional move" instruction supported */
4646#define X86_FEATURE_PAT 0x00010000 /* Page Attribute Table is supported */
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ KiGetFeatureBits(VOID)
378378 if (CpuFeatures & X86_FEATURE_TSC ) FeatureBits |= KF_RDTSC ;
379379 if (CpuFeatures & X86_FEATURE_CX8 ) FeatureBits |= KF_CMPXCHG8B ;
380380 if (CpuFeatures & X86_FEATURE_SYSCALL ) FeatureBits |= KF_FAST_SYSCALL ;
381- if (CpuFeatures & X86_FEATURE_MTTR ) FeatureBits |= KF_MTRR ;
381+ if (CpuFeatures & X86_FEATURE_MTRR ) FeatureBits |= KF_MTRR ;
382382 if (CpuFeatures & X86_FEATURE_PGE ) FeatureBits |= KF_GLOBAL_PAGE | KF_CR4 ;
383383 if (CpuFeatures & X86_FEATURE_CMOV ) FeatureBits |= KF_CMOV ;
384384 if (CpuFeatures & X86_FEATURE_PAT ) FeatureBits |= KF_PAT ;
You can’t perform that action at this time.
0 commit comments