git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2002110701
[reactos.git]
/
ntoskrnl
/
mm
/
rmap.c
diff --git
a/ntoskrnl/mm/rmap.c
b/ntoskrnl/mm/rmap.c
index
81df3e4
..
056b906
100644
(file)
--- a/
ntoskrnl/mm/rmap.c
+++ b/
ntoskrnl/mm/rmap.c
@@
-45,6
+45,8
@@
typedef struct _MM_RMAP_ENTRY
PVOID Address;
} MM_RMAP_ENTRY, *PMM_RMAP_ENTRY;
PVOID Address;
} MM_RMAP_ENTRY, *PMM_RMAP_ENTRY;
+#define TAG_RMAP TAG('R', 'M', 'A', 'P')
+
/* GLOBALS ******************************************************************/
static FAST_MUTEX RmapListLock;
/* GLOBALS ******************************************************************/
static FAST_MUTEX RmapListLock;
@@
-353,7
+355,7
@@
MmInsertRmap(PHYSICAL_ADDRESS PhysicalAddress, PEPROCESS Process,
Address = (PVOID)PAGE_ROUND_DOWN(Address);
Address = (PVOID)PAGE_ROUND_DOWN(Address);
- new_entry = ExAllocatePool
(NonPagedPool, sizeof(MM_RMAP_ENTRY)
);
+ new_entry = ExAllocatePool
WithTag(NonPagedPool, sizeof(MM_RMAP_ENTRY), TAG_RMAP
);
if (new_entry == NULL)
{
KeBugCheck(0);
if (new_entry == NULL)
{
KeBugCheck(0);