Add interface to retrieve page map level (PML)
Todas las comprobaciones han sido exitosas
Todas las comprobaciones han sido exitosas
Este commit está contenido en:
@@ -9,6 +9,20 @@
|
||||
#include <xtos.hh>
|
||||
|
||||
|
||||
/**
|
||||
* Gets Page Map Level (PML) for current paging mode.
|
||||
*
|
||||
* @return This routine returns the page map level.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTAPI
|
||||
USHORT
|
||||
MM::PageMap::GetPageMapLevel()
|
||||
{
|
||||
return PageMapInfo.Xpa ? 3 : 2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the address of the PDE (Page Directory Entry), that maps given address.
|
||||
*
|
||||
|
||||
Referencia en una nueva incidencia
Block a user