[PATCH v5 0/1] MR1771: ntoskrnl.exe: Fake Success for MmMapIoSpace.
originally created by Guy1524 -- v5: ntoskrnl.exe: Fake Success for MmMapIoSpace. https://gitlab.winehq.org/wine/wine/-/merge_requests/1771
From: Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- dlls/ntoskrnl.exe/ntoskrnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index cc30750a160..20e0cfcce80 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -2905,7 +2905,7 @@ PHYSICAL_ADDRESS WINAPI MmGetPhysicalAddress(void *virtual_address) PVOID WINAPI MmMapIoSpace( PHYSICAL_ADDRESS PhysicalAddress, DWORD NumberOfBytes, DWORD CacheType ) { FIXME( "stub: 0x%08lx%08lx, %ld, %ld\n", PhysicalAddress.u.HighPart, PhysicalAddress.u.LowPart, NumberOfBytes, CacheType ); - return NULL; + return (PVOID)(ULONG_PTR)(PhysicalAddress.QuadPart); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1771
participants (2)
-
Etaash Mathamsetty -
Etaash Mathamsetty (@etaash.mathamsetty)