[Wine-patches] [5/10] ntoskrnl.exe: Implement MmMapLockedPages.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пн Ноя 24 19:01:00 MSK 2008


----------- следующая часть -----------
From 1ac7c7101d140a66b90df27efdbf61f4fe611aa0 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 8 Oct 2008 13:54:27 +0400
Subject: [PATCH] ntoskrnl.exe: Implement MmMapLockedPages.

---
 dlls/ntoskrnl.exe/ntoskrnl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index f68108d..18ad4e5 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1367,8 +1367,8 @@ BOOLEAN WINAPI MmIsAddressValid(PVOID VirtualAddress)
 PVOID WINAPI MmMapLockedPages(PMDL MemoryDescriptorList,
         KPROCESSOR_MODE AccessMode)
 {
-    FIXME("%p %d\n", MemoryDescriptorList, AccessMode);
-    return NULL;
+    TRACE("%p %d\n", MemoryDescriptorList, AccessMode);
+    return MemoryDescriptorList->MappedSystemVa;
 }
 
 /***********************************************************************
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches