Author: tfaber
Date: Sat Jan 28 13:08:19 2017
New Revision: 73607
URL:
http://svn.reactos.org/svn/reactos?rev=73607&view=rev
Log:
[NTOS:MM]
- Support MmSpecialPoolTag == '*' to mean all tags. By Serge Gautherie.
CORE-12711 #resolve
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/special.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/special.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/special.c…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/special.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/special.c [iso-8859-1] Sat Jan 28 13:08:19 2017
@@ -78,7 +78,14 @@
{
/* Special pool is not suitable for allocations bigger than 1 page */
if (NumberOfBytes > (PAGE_SIZE - sizeof(POOL_HEADER)))
+ {
return FALSE;
+ }
+
+ if (MmSpecialPoolTag == '*')
+ {
+ return TRUE;
+ }
return Tag == MmSpecialPoolTag;
}