mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 18:24:24 +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 */
|
||||
if (NumberOfBytes > (PAGE_SIZE - sizeof(POOL_HEADER)))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (MmSpecialPoolTag == '*')
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return Tag == MmSpecialPoolTag;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue