ntoskrnl.exe: add stubs for MmMapIoSpace/MmUnmapIoSpace
Austin English
austinenglish at gmail.com
Sun Jul 18 15:22:43 CDT 2010
Gets a few applications further along.
http://bugs.winehq.org/show_bug.cgi?id=18360
http://bugs.winehq.org/show_bug.cgi?id=19245
http://bugs.winehq.org/show_bug.cgi?id=23181
http://bugs.winehq.org/show_bug.cgi?id=23701
--
-Austin
-------------- next part --------------
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 7823f73..ab113b0 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1327,6 +1327,15 @@ BOOLEAN WINAPI MmIsAddressValid(PVOID VirtualAddress)
}
/***********************************************************************
+ * MmMapIoSpace (NTOSKRNL.EXE.@)
+ */
+PVOID WINAPI MmMapIoSpace( PHYSICAL_ADDRESS PhysicalAddress, DWORD NumberOfBytes, DWORD CacheType )
+{
+ FIXME( "stub: 0x%08x%08x, %d, %d\n", PhysicalAddress.u.HighPart, PhysicalAddress.u.LowPart, NumberOfBytes, CacheType );
+ return NULL;
+}
+
+/***********************************************************************
* MmPageEntireDriver (NTOSKRNL.EXE.@)
*/
PVOID WINAPI MmPageEntireDriver(PVOID AddrInSection)
@@ -1344,6 +1353,14 @@ void WINAPI MmResetDriverPaging(PVOID AddrInSection)
}
/***********************************************************************
+ * MmUnmapIoSpace (NTOSKRNL.EXE.@)
+ */
+VOID WINAPI MmUnmapIoSpace( PVOID BaseAddress, SIZE_T NumberOfBytes )
+{
+ FIXME( "stub: %p, %lu\n", BaseAddress, NumberOfBytes );
+}
+
+/***********************************************************************
* ObfReferenceObject (NTOSKRNL.EXE.@)
*/
VOID WINAPI ObfReferenceObject(PVOID Object)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 0a816ab..38ccb58 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -688,7 +688,7 @@
@ stub MmLockPagableDataSection
@ stub MmLockPagableImageSection
@ stub MmLockPagableSectionByHandle
-@ stub MmMapIoSpace
+@ stdcall MmMapIoSpace(long long long long)
@ stub MmMapLockedPages
@ stub MmMapLockedPagesSpecifyCache
@ stub MmMapLockedPagesWithReservedMapping
@@ -718,7 +718,7 @@
@ stub MmTrimAllSystemPagableMemory
@ stub MmUnlockPagableImageSection
@ stub MmUnlockPages
-@ stub MmUnmapIoSpace
+@ stdcall MmUnmapIoSpace(ptr long)
@ stub MmUnmapLockedPages
@ stub MmUnmapReservedMapping
@ stub MmUnmapVideoDisplay
More information about the wine-patches
mailing list