[NTOS]: Stop handling PEB/TEB MAREAs since they're not used anymore.

svn path=/trunk/; revision=48200
This commit is contained in:
Sir Richard 2010-07-22 20:48:04 +00:00
parent 9e489a9b8e
commit dd68882cd0

View file

@ -149,7 +149,7 @@ MmWritePagePhysicalAddress(PFN_NUMBER Page)
Status = MmWritePageSectionView(AddressSpace, MemoryArea,
Address, PageOp);
}
else if ((Type == MEMORY_AREA_VIRTUAL_MEMORY) || (Type == MEMORY_AREA_PEB_OR_TEB))
else if (Type == MEMORY_AREA_VIRTUAL_MEMORY)
{
PageOp = MmGetPageOp(MemoryArea, Address < MmSystemRangeStart ? Process->UniqueProcessId : NULL,
Address, NULL, 0, MM_PAGEOP_PAGEOUT, TRUE);
@ -274,7 +274,7 @@ MmPageOutPhysicalAddress(PFN_NUMBER Page)
Status = MmPageOutSectionView(AddressSpace, MemoryArea,
Address, PageOp);
}
else if ((Type == MEMORY_AREA_VIRTUAL_MEMORY) || (Type == MEMORY_AREA_PEB_OR_TEB))
else if (Type == MEMORY_AREA_VIRTUAL_MEMORY)
{
PageOp = MmGetPageOp(MemoryArea, Address < MmSystemRangeStart ? Process->UniqueProcessId : NULL,
Address, NULL, 0, MM_PAGEOP_PAGEOUT, TRUE);