Implement architecture-specific user probe address retrieval
This commit is contained in:
@@ -173,6 +173,21 @@ MM::PageMap::GetPteOffset(IN PVOID Address)
|
||||
return ((((ULONG_PTR)(Address)) >> MM_PTI_SHIFT) & (PageMapInfo.Xpa ? 0x1FF : 0x3FF));
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the maximum valid memory address accessible to user-mode applications.
|
||||
*
|
||||
* @return This routine returns the user-mode probe address boundary.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTAPI
|
||||
ULONG_PTR
|
||||
MM::PageMap::GetUserProbeAddress(VOID)
|
||||
{
|
||||
/* Return user probe address */
|
||||
return MM_USER_PROBE_ADDRESS;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the status of Extended Paging Address (XPA) mode.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user