[PATCH] ntoskrnl: Implement MmGetPhysicalAddress

Paul Gofman pgofman at codeweavers.com
Fri Aug 6 14:24:27 CDT 2021


On 8/6/21 21:28, Alex Henrie wrote:
> Wine doesn't have access to the physical address space, but it works to
> pretend that it's the same as the virtual address space.
>
...
>  
> +/***********************************************************************
> + *           MmGetPhysicalAddress   (NTOSKRNL.EXE.@)
> + */
> +PHYSICAL_ADDRESS MmGetPhysicalAddress(void *virtual_address)
> +{
> +    PHYSICAL_ADDRESS ret;
> +    TRACE("(%p)\n", virtual_address);

I suppose this deserves a FIXME. Besides WINAPI which Dmitry noted.





More information about the wine-devel mailing list