Fix physical page count overflow by using 64-bit type

This commit is contained in:
2025-12-22 23:32:54 +01:00
parent 643fd0d1e8
commit 7575526f07
3 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ MM::Pfn::ComputePfnDatabaseSize(VOID)
* @since XT 1.0
*/
XTAPI
ULONG
ULONGLONG
MM::Pfn::GetNumberOfPhysicalPages(VOID)
{
/* Return the number of physical pages */