mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
* Used tagged memory for rmap entries.
svn path=/trunk/; revision=3705
This commit is contained in:
parent
e4be6a3090
commit
9c17318aff
1 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: rmap.c,v 1.12 2002/09/08 10:23:36 chorns Exp $
|
||||
/* $Id: rmap.c,v 1.13 2002/11/05 20:48:08 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -45,6 +45,8 @@ typedef struct _MM_RMAP_ENTRY
|
|||
PVOID Address;
|
||||
} MM_RMAP_ENTRY, *PMM_RMAP_ENTRY;
|
||||
|
||||
#define TAG_RMAP TAG('R', 'M', 'A', 'P')
|
||||
|
||||
/* GLOBALS ******************************************************************/
|
||||
|
||||
static FAST_MUTEX RmapListLock;
|
||||
|
@ -353,7 +355,7 @@ MmInsertRmap(PHYSICAL_ADDRESS PhysicalAddress, PEPROCESS Process,
|
|||
|
||||
Address = (PVOID)PAGE_ROUND_DOWN(Address);
|
||||
|
||||
new_entry = ExAllocatePool(NonPagedPool, sizeof(MM_RMAP_ENTRY));
|
||||
new_entry = ExAllocatePoolWithTag(NonPagedPool, sizeof(MM_RMAP_ENTRY), TAG_RMAP);
|
||||
if (new_entry == NULL)
|
||||
{
|
||||
KeBugCheck(0);
|
||||
|
|
Loading…
Reference in a new issue