mirror of
https://github.com/reactos/reactos.git
synced 2026-06-04 18:30:41 +08:00
[NTOS:KE] Fix X86_FEATURE_MTTR typo (#8330)
"MTTR" should read: "MTRR".
This commit is contained in:
@@ -35,7 +35,7 @@ extern "C" {
|
||||
#define X86_FEATURE_PAE 0x00000040 /* physical address extension is present */
|
||||
#define X86_FEATURE_CX8 0x00000100 /* CMPXCHG8B instruction present */
|
||||
#define X86_FEATURE_SYSCALL 0x00000800 /* SYSCALL/SYSRET support present */
|
||||
#define X86_FEATURE_MTTR 0x00001000 /* Memory type range registers are present */
|
||||
#define X86_FEATURE_MTRR 0x00001000 /* Memory type range registers are present */
|
||||
#define X86_FEATURE_PGE 0x00002000 /* Page Global Enable */
|
||||
#define X86_FEATURE_CMOV 0x00008000 /* "Conditional move" instruction supported */
|
||||
#define X86_FEATURE_PAT 0x00010000 /* Page Attribute Table is supported */
|
||||
|
||||
@@ -40,7 +40,7 @@ extern "C"
|
||||
#define X86_FEATURE_CX8 0x00000100 /* CMPXCHG8B instruction present */
|
||||
#define X86_FEATURE_APIC 0x00000200 /* APIC is present */
|
||||
#define X86_FEATURE_SYSCALL 0x00000800 /* SYSCALL/SYSRET support present */
|
||||
#define X86_FEATURE_MTTR 0x00001000 /* Memory type range registers are present */
|
||||
#define X86_FEATURE_MTRR 0x00001000 /* Memory type range registers are present */
|
||||
#define X86_FEATURE_PGE 0x00002000 /* Page Global Enable */
|
||||
#define X86_FEATURE_CMOV 0x00008000 /* "Conditional move" instruction supported */
|
||||
#define X86_FEATURE_PAT 0x00010000 /* Page Attribute Table is supported */
|
||||
|
||||
@@ -378,7 +378,7 @@ KiGetFeatureBits(VOID)
|
||||
if (CpuFeatures & X86_FEATURE_TSC) FeatureBits |= KF_RDTSC;
|
||||
if (CpuFeatures & X86_FEATURE_CX8) FeatureBits |= KF_CMPXCHG8B;
|
||||
if (CpuFeatures & X86_FEATURE_SYSCALL) FeatureBits |= KF_FAST_SYSCALL;
|
||||
if (CpuFeatures & X86_FEATURE_MTTR) FeatureBits |= KF_MTRR;
|
||||
if (CpuFeatures & X86_FEATURE_MTRR) FeatureBits |= KF_MTRR;
|
||||
if (CpuFeatures & X86_FEATURE_PGE) FeatureBits |= KF_GLOBAL_PAGE | KF_CR4;
|
||||
if (CpuFeatures & X86_FEATURE_CMOV) FeatureBits |= KF_CMOV;
|
||||
if (CpuFeatures & X86_FEATURE_PAT) FeatureBits |= KF_PAT;
|
||||
|
||||
Reference in New Issue
Block a user