From ca6c913fa7e4a22e97d6b81127a210f8377b66a1 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Sat, 2 Aug 2025 18:30:23 +0200 Subject: [PATCH] Clarify PAE state management logic --- xtldr/modules/xtos_o/i686/memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xtldr/modules/xtos_o/i686/memory.c b/xtldr/modules/xtos_o/i686/memory.c index 3dd8e31..5dc83ca 100644 --- a/xtldr/modules/xtos_o/i686/memory.c +++ b/xtldr/modules/xtos_o/i686/memory.c @@ -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) */