Clarify PAE state management logic
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 43s
Builds / ExectOS (amd64, release) (push) Successful in 44s
Builds / ExectOS (i686, debug) (push) Successful in 43s
Builds / ExectOS (i686, release) (push) Successful in 43s

This commit is contained in:
Aiken Harris 2025-08-02 18:30:23 +02:00 committed by CodingWorkshop Signing Team
parent ca06f9ebb5
commit ca6c913fa7
Signed by: CodingWorkshop Signing Team
GPG Key ID: 6DC88369C82795D2

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) */