[Wine-patches] [3/10] ntoskrnl.exe: Add stubs for MmProbeAndLockPages and MmUnlockPages.
Alexander Morozov
=?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пн Ноя 24 18:59:45 MSK 2008
----------- следующая часть -----------
From 9b5b1562a90a206275c427258d6ce63f2f052863 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Mon, 6 Oct 2008 14:26:53 +0400
Subject: [PATCH] ntoskrnl.exe: Add stubs for MmProbeAndLockPages and MmUnlockPages.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 18 ++++++++++++++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 4 ++--
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 71da10a..e2b8443 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1371,6 +1371,16 @@ PVOID WINAPI MmPageEntireDriver(PVOID AddrInSection)
}
/***********************************************************************
+ * MmProbeAndLockPages (NTOSKRNL.EXE.@)
+ */
+void WINAPI MmProbeAndLockPages(PMDL MemoryDescriptorList,
+ KPROCESSOR_MODE AccessMode,
+ LOCK_OPERATION Operation)
+{
+ FIXME("%p %d %u\n", MemoryDescriptorList, AccessMode, Operation);
+}
+
+/***********************************************************************
* MmResetDriverPaging (NTOSKRNL.EXE.@)
*/
void WINAPI MmResetDriverPaging(PVOID AddrInSection)
@@ -1402,6 +1412,14 @@ void WINAPI ObfDereferenceObject( VOID *obj )
/***********************************************************************
+ * MmUnlockPages (NTOSKRNL.EXE.@)
+ */
+void WINAPI MmUnlockPages(PMDL MemoryDescriptorList)
+{
+ FIXME("%p\n", MemoryDescriptorList);
+}
+
+/***********************************************************************
* PsCreateSystemThread (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI PsCreateSystemThread(PHANDLE ThreadHandle, ULONG DesiredAccess,
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 11a5523..669743b 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -702,7 +702,7 @@
@ stub MmMarkPhysicalMemoryAsGood
@ stdcall MmPageEntireDriver(ptr)
@ stub MmPrefetchPages
-@ stub MmProbeAndLockPages
+@ stdcall MmProbeAndLockPages(ptr long long)
@ stub MmProbeAndLockProcessPages
@ stub MmProbeAndLockSelectedPages
@ stub MmProtectMdlSystemAddress
@@ -717,7 +717,7 @@
@ stub MmSystemRangeStart
@ stub MmTrimAllSystemPagableMemory
@ stub MmUnlockPagableImageSection
-@ stub MmUnlockPages
+@ stdcall MmUnlockPages(ptr)
@ stub MmUnmapIoSpace
@ stub MmUnmapLockedPages
@ stub MmUnmapReservedMapping
--
1.6.0.2.GIT
Подробная информация о списке рассылки Wine-patches