Author: hbelusca
Date: Mon Nov 7 20:41:24 2016
New Revision: 73171
URL:
http://svn.reactos.org/svn/reactos?rev=73171&view=rev
Log:
[NTOS]: Fix MmPt and DOPE tags.
Modified:
trunk/reactos/ntoskrnl/cache/section/sptab.c
trunk/reactos/ntoskrnl/po/povolume.c
Modified: trunk/reactos/ntoskrnl/cache/section/sptab.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cache/section/spt…
==============================================================================
--- trunk/reactos/ntoskrnl/cache/section/sptab.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cache/section/sptab.c [iso-8859-1] Mon Nov 7 20:41:24 2016
@@ -71,7 +71,7 @@
MiSectionPageTableAllocate(PRTL_GENERIC_TABLE Table, CLONG Bytes)
{
PVOID Result;
- Result = ExAllocatePoolWithTag(NonPagedPool, Bytes, 'MmPt');
+ Result = ExAllocatePoolWithTag(NonPagedPool, Bytes, 'tPmM');
//DPRINT("MiSectionPageTableAllocate(%d) => %p\n", Bytes, Result);
return Result;
}
@@ -83,7 +83,7 @@
MiSectionPageTableFree(PRTL_GENERIC_TABLE Table, PVOID Data)
{
//DPRINT("MiSectionPageTableFree(%p)\n", Data);
- ExFreePoolWithTag(Data, 'MmPt');
+ ExFreePoolWithTag(Data, 'tPmM');
}
_Function_class_(RTL_GENERIC_COMPARE_ROUTINE)
Modified: trunk/reactos/ntoskrnl/po/povolume.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/po/povolume.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/po/povolume.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/po/povolume.c [iso-8859-1] Mon Nov 7 20:41:24 2016
@@ -27,6 +27,8 @@
LIST_ENTRY PopVolumeDevices;
KSPIN_LOCK PopDopeGlobalLock;
+#define TAG_PO_DOPE 'EPOD'
+
/* PRIVATE FUNCTIONS *********************************************************/
PDEVICE_OBJECT_POWER_EXTENSION
@@ -45,7 +47,7 @@
/* Allocate some dope for the device */
Dope = ExAllocatePoolWithTag(NonPagedPool,
sizeof(DEVICE_OBJECT_POWER_EXTENSION),
- 'Dope');
+ TAG_PO_DOPE);
if (!Dope) goto Return;
/* Initialize the initial contents of the dope */
@@ -69,7 +71,7 @@
KeReleaseSpinLock(&PopDopeGlobalLock, OldIrql);
/* Check if someone other than us already assigned the dope, so free ours */
- if (Dope) ExFreePoolWithTag(Dope, 'Dope');
+ if (Dope) ExFreePoolWithTag(Dope, TAG_PO_DOPE);
/* Return the dope to the caller */
Return:
@@ -140,7 +142,7 @@
KeReleaseSpinLock(&PopDopeGlobalLock, OldIrql);
/* Free dope */
- ExFreePoolWithTag(Dope, 'Dope');
+ ExFreePoolWithTag(Dope, TAG_PO_DOPE);
}
VOID