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>
This commit is contained in:
parent
2d33f406c9
commit
c5c9c58974
2 changed files with 12 additions and 1 deletions
|
@ -2723,6 +2723,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.@)
|
||||
*/
|
||||
|
|
|
@ -702,7 +702,7 @@
|
|||
@ stub MmFreeMappingAddress
|
||||
@ stdcall MmFreeNonCachedMemory(ptr long)
|
||||
@ stub MmFreePagesFromMdl
|
||||
@ stub MmGetPhysicalAddress
|
||||
@ stdcall MmGetPhysicalAddress(ptr)
|
||||
@ stub MmGetPhysicalMemoryRanges
|
||||
@ stdcall MmGetSystemRoutineAddress(ptr)
|
||||
@ stub MmGetVirtualForPhysical
|
||||
|
|
Loading…
Add table
Reference in a new issue