Add interface to retrieve page map level (PML)
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 32s
Builds / ExectOS (i686, debug) (push) Successful in 40s
Builds / ExectOS (i686, release) (push) Successful in 30s
Builds / ExectOS (amd64, debug) (push) Successful in 43s

This commit is contained in:
2026-02-11 20:23:24 +01:00
parent e2da6220f2
commit f7b7b61ea4
7 changed files with 46 additions and 0 deletions

View File

@@ -189,6 +189,20 @@ MM::Paging::GetPageMapBasicRoutines(VOID)
return &PageMapBasicRoutines;
}
/**
* Gets Page Map Level (PML) for current paging mode.
*
* @return This routine returns the page map level.
*
* @since XT 1.0
*/
XTAPI
USHORT
MM::Paging::GetPageMapLevel()
{
return PmlRoutines->GetPageMapLevel();
}
/**
* Gets the page map routines for eXtended Physical Addressing (XPA) mode.
*