Refactor memory layout structure

This commit is contained in:
2026-01-29 22:10:26 +01:00
committed by CodingWorkshop Signing Team
parent 17e096f18c
commit 94320928bc
10 changed files with 67 additions and 47 deletions

View File

@@ -68,7 +68,7 @@ MM::Pte::GetSystemPteBaseAddress(VOID)
if(MM::Paging::GetXpaStatus())
{
/* For 5-level paging, system PTEs start at the beginning of system space */
return MM::Paging::GetPteAddress((PVOID)MemoryLayout->SystemSpaceStart);
return MM::Paging::GetPteAddress((PVOID)MemoryLayout->NonPagedSystemPoolStart);
}
else
{