Commit c5c9c589 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

ntoskrnl: Add MmGetPhysicalAddress semi-stub.

parent 2d33f406
......@@ -2724,6 +2724,17 @@ BOOLEAN WINAPI MmIsAddressValid(PVOID VirtualAddress)
}
/***********************************************************************
* 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.@)
*/
PVOID WINAPI MmMapIoSpace( PHYSICAL_ADDRESS PhysicalAddress, DWORD NumberOfBytes, DWORD CacheType )
......
......@@ -702,7 +702,7 @@
@ stub MmFreeMappingAddress
@ stdcall MmFreeNonCachedMemory(ptr long)
@ stub MmFreePagesFromMdl
@ stub MmGetPhysicalAddress
@ stdcall MmGetPhysicalAddress(ptr)
@ stub MmGetPhysicalMemoryRanges
@ stdcall MmGetSystemRoutineAddress(ptr)
@ stub MmGetVirtualForPhysical
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment