Author: tkreuzer
Date: Sat Nov 7 21:06:33 2009
New Revision: 44018
URL:
http://svn.reactos.org/svn/reactos?rev=44018&view=rev
Log:
cleanup amd64 specific Mm stubs
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/amd64/page.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/amd64/page.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/amd64/page.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/amd64/page.c [iso-8859-1] Sat Nov 7
21:06:33 2009
@@ -4,7 +4,7 @@
* FILE: ntoskrnl/mm/amd64/page.c
* PURPOSE: Low level memory managment manipulation
*
- * PROGRAMMERS: David Welch (welch(a)cwcom.net)
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
*/
/* INCLUDES ***************************************************************/
@@ -24,32 +24,11 @@
ULONG64 MmGlobalKernelPageDirectory[512];
+/* PRIVATE FUNCTIONS *******************************************************/
+
+
/* FUNCTIONS ***************************************************************/
-BOOLEAN MmUnmapPageTable(PULONG Pt);
-
-ULONG_PTR
-NTAPI
-MiFlushTlbIpiRoutine(ULONG_PTR Address)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-VOID
-MiFlushTlb(PULONG Pt, PVOID Address)
-{
- UNIMPLEMENTED;
-}
-
-
-/*
-static ULONG
-ProtectToPTE(ULONG flProtect)
-{
- return 0;
-}
-*/
NTSTATUS
NTAPI
Mmi386ReleaseMmInfo(PEPROCESS Process)
@@ -77,26 +56,6 @@
return 0;
}
-VOID
-NTAPI
-MmDeletePageTable(PEPROCESS Process, PVOID Address)
-{
- UNIMPLEMENTED;
-}
-
-VOID
-NTAPI
-MmFreePageTable(PEPROCESS Process, PVOID Address)
-{
- UNIMPLEMENTED;
-}
-
-BOOLEAN MmUnmapPageTable(PULONG Pt)
-{
- UNIMPLEMENTED;
- return FALSE;
-}
-
PFN_TYPE
NTAPI
MmGetPfnForProcess(PEPROCESS Process,
@@ -137,28 +96,13 @@
}
BOOLEAN
-Mmi386MakeKernelPageTableGlobal(PVOID PAddress)
+NTAPI
+MmIsDirtyPage(PEPROCESS Process, PVOID Address)
{
UNIMPLEMENTED;
return FALSE;
}
-BOOLEAN
-NTAPI
-MmIsDirtyPage(PEPROCESS Process, PVOID Address)
-{
- UNIMPLEMENTED;
- return FALSE;
-}
-
-BOOLEAN
-NTAPI
-MmIsAccessedAndResetAccessPage(PEPROCESS Process, PVOID Address)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
VOID
NTAPI
MmSetCleanPage(PEPROCESS Process, PVOID Address)
@@ -194,17 +138,6 @@
{
UNIMPLEMENTED;
return 0;
-}
-
-NTSTATUS
-NTAPI
-MmCreateVirtualMappingForKernel(PVOID Address,
- ULONG flProtect,
- PPFN_TYPE Pages,
- ULONG PageCount)
-{
- UNIMPLEMENTED;
- return STATUS_UNSUCCESSFUL;
}
NTSTATUS
@@ -257,9 +190,6 @@
UNIMPLEMENTED;
}
-/*
- * @implemented
- */
PHYSICAL_ADDRESS
NTAPI
MmGetPhysicalAddress(PVOID vaddr)
@@ -267,14 +197,6 @@
PHYSICAL_ADDRESS ret = {{0}};
UNIMPLEMENTED;
return ret;
-}
-
-PFN_TYPE
-NTAPI
-MmChangeHyperspaceMapping(PVOID Address, PFN_TYPE NewPage)
-{
- UNIMPLEMENTED;
- return 0;
}
VOID
@@ -322,12 +244,5 @@
UNIMPLEMENTED;
}
-VOID
-INIT_FUNCTION
-NTAPI
-MiInitPageDirectoryMap(VOID)
-{
- UNIMPLEMENTED;
-}
/* EOF */