Author: sginsberg
Date: Sun Aug 17 07:17:08 2008
New Revision: 35407
URL:
http://svn.reactos.org/svn/reactos?rev=35407&view=rev
Log:
- Remove two more files by moving their tiny contents (one stub, one 2 line function) to
mm.c
Removed:
trunk/reactos/ntoskrnl/mm/pagfault.c
trunk/reactos/ntoskrnl/mm/paging.c
Modified:
trunk/reactos/ntoskrnl/mm/mm.c
trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild
Modified: trunk/reactos/ntoskrnl/mm/mm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/mm.c?rev=35407…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/mm.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/mm.c [iso-8859-1] Sun Aug 17 07:17:08 2008
@@ -367,6 +367,31 @@
/* Miscellanea functions: they may fit somewhere else */
/*
+ * @implemented
+ */
+BOOLEAN
+NTAPI
+MmIsRecursiveIoFault (VOID)
+{
+ PETHREAD Thread = PsGetCurrentThread();
+
+ return (Thread->DisablePageFaultClustering | Thread->ForwardClusterOnly);
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+NTAPI
+MmMapUserAddressesToPage(IN PVOID BaseAddress,
+ IN SIZE_T NumberOfBytes,
+ IN PVOID PageAddress)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+/*
* @unimplemented
*/
ULONG NTAPI
Removed: trunk/reactos/ntoskrnl/mm/pagfault.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/pagfault.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/pagfault.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/pagfault.c (removed)
@@ -1,30 +1,0 @@
-/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/mm/pagfault.c
- * PURPOSE: No purpose listed.
- *
- * PROGRAMMERS: No programmer listed.
- */
-
-
-#include <ntoskrnl.h>
-
-/*
- * @implemented
- */
-BOOLEAN
-STDCALL
-MmIsRecursiveIoFault (
- VOID
-)
-{
- PETHREAD Thread = PsGetCurrentThread ();
-
- return ( Thread->DisablePageFaultClustering
- | Thread->ForwardClusterOnly
- );
-}
-
-
-/* EOF */
Removed: trunk/reactos/ntoskrnl/mm/paging.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/paging.c?rev=3…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/paging.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/paging.c (removed)
@@ -1,31 +1,0 @@
-/*
- * COPYRIGHT: See COPYING in the top level directory
- * PROJECT: ReactOS kernel
- * FILE: ntoskrnl/mm/paging.c
- * PURPOSE: Paging file functions
- *
- * PROGRAMMERS: David Welch (welch(a)mcmail.com)
- */
-
-/* INCLUDES *****************************************************************/
-
-#include <ntoskrnl.h>
-#include <internal/debug.h>
-
-
-/* FUNCTIONS *****************************************************************/
-
-/*
- * @unimplemented
- */
-NTSTATUS
-STDCALL
-MmMapUserAddressesToPage (
- IN PVOID BaseAddress,
- IN SIZE_T NumberOfBytes,
- IN PVOID PageAddress
- )
-{
- UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
-}
Modified: trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl-generic.…
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] Sun Aug 17 07:17:08 2008
@@ -379,8 +379,6 @@
<file>npool.c</file>
<file>pagefile.c</file>
<file>pageop.c</file>
- <file>pagfault.c</file>
- <file>paging.c</file>
<file>pe.c</file>
<file>physical.c</file>
<file>pool.c</file>