https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a81ad376a1e261339d481a...
commit a81ad376a1e261339d481a0b163b1492c10c6b9f Author: James Tabor james.tabor@reactos.org AuthorDate: Sun Aug 8 20:37:06 2021 -0500 Commit: James Tabor james.tabor@reactos.org CommitDate: Sun Aug 8 20:37:06 2021 -0500
Check for PAE
Checking for PAE and set some logic later to support it. --- ntoskrnl/ke/i386/cpu.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/ntoskrnl/ke/i386/cpu.c b/ntoskrnl/ke/i386/cpu.c index ac1d9ee4dfd..03bd33d465b 100644 --- a/ntoskrnl/ke/i386/cpu.c +++ b/ntoskrnl/ke/i386/cpu.c @@ -380,6 +380,11 @@ KiGetFeatureBits(VOID) if (CpuFeatures & 0x02000000) FeatureBits |= KF_XMMI; if (CpuFeatures & 0x04000000) FeatureBits |= KF_XMMI64;
+ if (CpuFeatures & 0x00000040) + { + DPRINT1("Support PAE\n"); + } + /* Check if the CPU has hyper-threading */ if (CpuFeatures & 0x10000000) {