[ros-diffs] [sir_richard] 45609: [NTOS]: Remove unused code.
sir_richard at svn.reactos.org
sir_richard at svn.reactos.org
Thu Feb 18 17:50:55 CET 2010
- Previous message: [ros-diffs] [janderwald] 45608: [KSPROXY] - Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder - Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
- Next message: [ros-diffs] [sir_richard] 45610: [NTOS]: Build the actual ARM3 PFN database.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sir_richard
Date: Thu Feb 18 17:50:55 2010
New Revision: 45609
URL: http://svn.reactos.org/svn/reactos?rev=45609&view=rev
Log:
[NTOS]: Remove unused code.
Modified:
trunk/reactos/ntoskrnl/mm/mpw.c
Modified: trunk/reactos/ntoskrnl/mm/mpw.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/mpw.c?rev=45609&r1=45608&r2=45609&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/mpw.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/mpw.c [iso-8859-1] Thu Feb 18 17:50:55 2010
@@ -22,35 +22,6 @@
BOOLEAN MpwThreadShouldTerminate;
/* FUNCTIONS *****************************************************************/
-
-NTSTATUS NTAPI
-MmWriteDirtyPages(ULONG Target, PULONG Actual)
-{
- PFN_TYPE Page;
- PFN_TYPE NextPage;
- NTSTATUS Status;
-
- Page = MmGetLRUFirstUserPage();
- while (Page != 0 && Target > 0)
- {
- /*
- * FIXME: While the current page is write back it is possible
- * that the next page is freed and not longer a user page.
- */
- NextPage = MmGetLRUNextUserPage(Page);
- if (MmIsDirtyPageRmap(Page))
- {
- Status = MmWritePagePhysicalAddress(Page);
- if (NT_SUCCESS(Status))
- {
- Target--;
- }
- }
- Page = NextPage;
- }
- *Actual = Target;
- return(STATUS_SUCCESS);
-}
NTSTATUS NTAPI
MmMpwThreadMain(PVOID Ignored)
@@ -81,12 +52,6 @@
}
PagesWritten = 0;
-#if 0
- /*
- * FIXME: MmWriteDirtyPages doesn't work correctly.
- */
- MmWriteDirtyPages(128, &PagesWritten);
-#endif
CcRosFlushDirtyPages(128, &PagesWritten);
}
- Previous message: [ros-diffs] [janderwald] 45608: [KSPROXY] - Stub interfaces for CBasicAudio, CKsClockForwarder, CVPConfig, CVPVBIConfig, CKsDataTypeHandler, CKsInterfaceHandler, CKsProxy, CKsQualityForwarder - Implement KsSynchronousDeviceControl, KsOpenDefaultDevice, KsGetMultiplePinFactoryItems, KsGetMediaTypeCount, DllGetClassObject
- Next message: [ros-diffs] [sir_richard] 45610: [NTOS]: Build the actual ARM3 PFN database.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list