mirror of
https://github.com/reactos/reactos.git
synced 2024-07-03 19:24:20 +00:00
[NTOS:MM]
- Support MmSpecialPoolTag == '*' to mean all tags. By Serge Gautherie. CORE-12711 #resolve svn path=/trunk/; revision=73607
This commit is contained in:
parent
081ba36892
commit
7d54bdf9cc
|
@ -78,7 +78,14 @@ MmUseSpecialPool(SIZE_T NumberOfBytes, ULONG Tag)
|
||||||
{
|
{
|
||||||
/* Special pool is not suitable for allocations bigger than 1 page */
|
/* Special pool is not suitable for allocations bigger than 1 page */
|
||||||
if (NumberOfBytes > (PAGE_SIZE - sizeof(POOL_HEADER)))
|
if (NumberOfBytes > (PAGE_SIZE - sizeof(POOL_HEADER)))
|
||||||
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (MmSpecialPoolTag == '*')
|
||||||
|
{
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
return Tag == MmSpecialPoolTag;
|
return Tag == MmSpecialPoolTag;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue