ntoskrnl: Add MmGetPhysicalAddress semi-stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47047
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit c5c9c58974
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
72a7c1991c
commit
dfe1fa9abc
|
@ -2670,6 +2670,17 @@ BOOLEAN WINAPI MmIsAddressValid(PVOID VirtualAddress)
|
|||
return !IsBadReadPtr(VirtualAddress, 1);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MmGetPhysicalAddress (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
PHYSICAL_ADDRESS WINAPI MmGetPhysicalAddress(void *virtual_address)
|
||||
{
|
||||
PHYSICAL_ADDRESS ret;
|
||||
FIXME("(%p): semi-stub\n", virtual_address);
|
||||
ret.QuadPart = (ULONG_PTR)virtual_address;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MmMapIoSpace (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
|
@ -701,7 +701,7 @@
|
|||
@ stub MmFreeMappingAddress
|
||||
@ stdcall MmFreeNonCachedMemory(ptr long)
|
||||
@ stub MmFreePagesFromMdl
|
||||
@ stub MmGetPhysicalAddress
|
||||
@ stdcall MmGetPhysicalAddress(ptr)
|
||||
@ stub MmGetPhysicalMemoryRanges
|
||||
@ stdcall MmGetSystemRoutineAddress(ptr)
|
||||
@ stub MmGetVirtualForPhysical
|
||||
|
|
Loading…
Reference in New Issue