Author: arty
Date: Wed Aug 27 10:22:10 2008
New Revision: 35702
URL:
http://svn.reactos.org/svn/reactos?rev=35702&view=rev
Log:
We don't need MmIsCOWAddress any longer.
Modified:
branches/arty-newcc/ntoskrnl/mm/section.c
Modified: branches/arty-newcc/ntoskrnl/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/mm/section.…
==============================================================================
--- branches/arty-newcc/ntoskrnl/mm/section.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/mm/section.c [iso-8859-1] Wed Aug 27 10:22:10 2008
@@ -374,21 +374,6 @@
*/
RtlCreateUnicodeString(ModuleName, L"C:\\ReactOS\\system32\\ntdll.dll");
return STATUS_SUCCESS;
-}
-
-BOOLEAN
-NTAPI
-MmIsCOWAddress(IN PEPROCESS Process, IN PVOID Address)
-{
- BOOLEAN IsCow = TRUE; /* Don't write unless we're sure */
- PMEMORY_AREA MemoryArea;
-
- MmLockAddressSpace(&Process->VadRoot);
- MemoryArea = MmLocateMemoryAreaByAddress(&Process->VadRoot, Address);
- ASSERT(MemoryArea);
- IsCow = MemoryArea->Data.SectionData.WriteCopyView;
- MmUnlockAddressSpace(&Process->VadRoot);
- return IsCow;
}
/* Note: Mmsp prefix denotes "Memory Manager Section Private". */