https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a6dc1d69bc025b5afb300…
commit a6dc1d69bc025b5afb30076b35e9bd7c27e6a543
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Feb 2 10:45:15 2019 +0100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sat Feb 2 10:45:15 2019 +0100
[NTOS:MM] On big pool enumeration, return entry instead of base VA
---
ntoskrnl/mm/ARM3/kdbg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/mm/ARM3/kdbg.c b/ntoskrnl/mm/ARM3/kdbg.c
index 1682fa8940..5b2554a425 100644
--- a/ntoskrnl/mm/ARM3/kdbg.c
+++ b/ntoskrnl/mm/ARM3/kdbg.c
@@ -219,7 +219,7 @@ VOID
ExpKdbgExtPoolFindLargePool(
ULONG Tag,
ULONG Mask,
- VOID (NTAPI* FoundCallback)(PVOID, PVOID),
+ VOID (NTAPI* FoundCallback)(PPOOL_TRACKER_BIG_PAGES, PVOID),
PVOID CallbackContext)
{
ULONG i;
@@ -238,7 +238,7 @@ ExpKdbgExtPoolFindLargePool(
{
if (FoundCallback != NULL)
{
- FoundCallback(PoolBigPageTable[i].Va, CallbackContext);
+ FoundCallback(&PoolBigPageTable[i], CallbackContext);
}
else
{