Add interface to retrieve page map level (PML)
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user