kernel32: Partially implement VirtualAllocExNuma.
Ignoring the preferred node should be good enough. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46927 Signed-off-by: Fabian Maurer <dark.shadow4@web.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
08af837a8c
commit
63743c3984
|
@ -28,7 +28,7 @@
|
|||
@ stub UnregisterBadMemoryNotification
|
||||
@ stdcall VirtualAlloc(ptr long long long) kernel32.VirtualAlloc
|
||||
@ stdcall VirtualAllocEx(long ptr long long long) kernel32.VirtualAllocEx
|
||||
@ stub VirtualAllocExNuma
|
||||
@ stdcall VirtualAllocExNuma(long ptr long long long long) kernel32.VirtualAllocExNuma
|
||||
@ stdcall VirtualFree(ptr long long) kernel32.VirtualFree
|
||||
@ stdcall VirtualFreeEx(long ptr long long) kernel32.VirtualFreeEx
|
||||
@ stdcall VirtualLock(ptr long) kernel32.VirtualLock
|
||||
|
|
|
@ -1559,7 +1559,7 @@
|
|||
@ stdcall VerifyVersionInfoW(long long int64)
|
||||
@ stdcall VirtualAlloc(ptr long long long)
|
||||
@ stdcall VirtualAllocEx(long ptr long long long)
|
||||
# @ stub VirtualAllocExNuma
|
||||
@ stdcall VirtualAllocExNuma(long ptr long long long long)
|
||||
@ stub VirtualBufferExceptionHandler
|
||||
@ stdcall VirtualFree(ptr long long)
|
||||
@ stdcall VirtualFreeEx(long ptr long long)
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
|
||||
WINE_DECLARE_DEBUG_CHANNEL(seh);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(file);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(virtual);
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
|
@ -101,6 +102,17 @@ LPVOID WINAPI DECLSPEC_HOTPATCH VirtualAllocEx( HANDLE hProcess, LPVOID addr, SI
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* VirtualAllocExNuma (KERNEL32.@)
|
||||
*/
|
||||
LPVOID WINAPI DECLSPEC_HOTPATCH VirtualAllocExNuma(HANDLE process, void *addr, SIZE_T size,
|
||||
DWORD type, DWORD protect, DWORD numa_node)
|
||||
{
|
||||
FIXME_(virtual)("Ignoring preferred numa_node\n");
|
||||
return VirtualAllocEx(process, addr, size, type, protect);
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* VirtualFree (KERNEL32.@)
|
||||
*
|
||||
|
|
|
@ -1669,7 +1669,7 @@
|
|||
# @ stub VerifyScripts
|
||||
@ stdcall VirtualAlloc(ptr long long long) kernel32.VirtualAlloc
|
||||
@ stdcall VirtualAllocEx(long ptr long long long) kernel32.VirtualAllocEx
|
||||
@ stub VirtualAllocExNuma
|
||||
@ stdcall VirtualAllocExNuma(long ptr long long long long) kernel32.VirtualAllocExNuma
|
||||
# @ stub VirtualAllocFromApp
|
||||
@ stdcall VirtualFree(ptr long long) kernel32.VirtualFree
|
||||
@ stdcall VirtualFreeEx(long ptr long long) kernel32.VirtualFreeEx
|
||||
|
|
|
@ -2698,6 +2698,7 @@ WINBASEAPI BOOL WINAPI VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDL
|
|||
#define VerifyVersionInfo WINELIB_NAME_AW(VerifyVersionInfo)
|
||||
WINBASEAPI LPVOID WINAPI VirtualAlloc(LPVOID,SIZE_T,DWORD,DWORD);
|
||||
WINBASEAPI LPVOID WINAPI VirtualAllocEx(HANDLE,LPVOID,SIZE_T,DWORD,DWORD);
|
||||
WINBASEAPI LPVOID WINAPI VirtualAllocExNuma(HANDLE,void*,SIZE_T,DWORD,DWORD,DWORD);
|
||||
WINBASEAPI BOOL WINAPI VirtualFree(LPVOID,SIZE_T,DWORD);
|
||||
WINBASEAPI BOOL WINAPI VirtualFreeEx(HANDLE,LPVOID,SIZE_T,DWORD);
|
||||
WINBASEAPI BOOL WINAPI VirtualLock(LPVOID,SIZE_T);
|
||||
|
|
Loading…
Reference in New Issue