Temporarily disable LA57 paging
已通過所有檢查
Builds / ExectOS (amd64, debug) (push) Successful in 24s
Builds / ExectOS (i686, debug) (push) Successful in 24s
Builds / ExectOS (amd64, release) (push) Successful in 42s
Builds / ExectOS (i686, release) (push) Successful in 38s

此提交包含在:
2025-08-18 00:10:32 +02:00
父節點 017b8603d5
當前提交 d602038858

查看文件

@@ -43,13 +43,14 @@ XtpDeterminePagingLevel(IN CONST PWCHAR Parameters)
/* Query CPUID */
ArCpuId(&CpuRegisters);
/* Check if eXtended Physical Addressing (XPA) is enabled and if LA57 is supported by the CPU */
if((CpuRegisters.Ecx & CPUID_FEATURES_ECX_LA57) &&
!(XtLdrProtocol->BootUtil.GetBooleanParameter(Parameters, L"NOXPA")))
{
/* Enable LA57 (PML5) */
return 5;
}
// TODO: Uncomment the following code when LA57 support is implemented in the bootloader
// /* Check if eXtended Physical Addressing (XPA) is enabled and if LA57 is supported by the CPU */
// if((CpuRegisters.Ecx & CPUID_FEATURES_ECX_LA57) &&
// !(XtLdrProtocol->BootUtil.GetBooleanParameter(Parameters, L"NOXPA")))
// {
// /* Enable LA57 (PML5) */
// return 4;
// }
}
/* Disable LA57 and use PML4 by default */