Implement architecture-specific user probe address retrieval
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 34s
Builds / ExectOS (i686, debug) (push) Successful in 32s
Builds / ExectOS (amd64, release) (push) Successful in 1m6s
Builds / ExectOS (i686, release) (push) Successful in 1m5s

This commit is contained in:
2026-06-30 21:41:08 +02:00
parent 91946ae88f
commit f9cbe78f84
9 changed files with 73 additions and 0 deletions

View File

@@ -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.
*