Clarify PAE state management logic

This commit is contained in:
2025-08-02 18:30:23 +02:00
committed by CodingWorkshop Signing Team
parent ca06f9ebb5
commit ca6c913fa7

View File

@@ -128,6 +128,7 @@ XtEnablePaging(IN PXTBL_PAGE_MAPPING PageMap)
/* Disable paging */
ArWriteControlRegister(0, ArReadControlRegister(0) & ~CR0_PG);
/* Check the configured page map level to set the PAE state accordingly */
if(PageMap->PageMapLevel == 3)
{
/* Enable Physical Address Extension (PAE) */