Jinoh Kang (@iamahuman) commented about dlls/ntoskrnl.exe/ntoskrnl.c:
MEMORY_CACHING_TYPE CacheType ) { - FIXME(": stub\n"); - return NULL; + DWORD protect = PAGE_READWRITE; + FIXME( ": ( %Iu %s %s %s %x ) semi-stub\n", size, wine_dbgstr_longlong(lowest_valid_address.QuadPart), + wine_dbgstr_longlong(highest_valid_address.QuadPart), + wine_dbgstr_longlong(BoundaryAddressMultiple.QuadPart), CacheType ); + switch (CacheType) + { + case MmNonCached: + protect |= PAGE_NOCACHE; + break; + case MmWriteCombined: + protect |= PAGE_NOCACHE; + protect |= PAGE_WRITECOMBINE;
```suggestion:-1+0 protect |= PAGE_WRITECOMBINE; ``` `PAGE_NOCACHE` and `PAGE_WRITECOMBINE` are mutually exclusive. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/777#note_7696