Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
52065a31
Commit
52065a31
authored
May 08, 2019
by
Roman Stingler
Committed by
Alexandre Julliard
May 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added some Numa stubs.
Signed-off-by:
Roman Stingler
<
roman.stingler@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9a64bfc5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
7 deletions
+53
-7
api-ms-win-core-kernel32-legacy-l1-1-1.spec
...legacy-l1-1-1/api-ms-win-core-kernel32-legacy-l1-1-1.spec
+2
-2
kernel32.spec
dlls/kernel32/kernel32.spec
+4
-4
process.c
dlls/kernel32/process.c
+37
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+2
-1
winbase.h
include/winbase.h
+8
-0
No files found.
dlls/api-ms-win-core-kernel32-legacy-l1-1-1/api-ms-win-core-kernel32-legacy-l1-1-1.spec
View file @
52065a31
...
...
@@ -29,9 +29,9 @@
@ stub GetMaximumProcessorGroupCount
@ stdcall GetNamedPipeClientProcessId(long ptr) kernel32.GetNamedPipeClientProcessId
@ stdcall GetNamedPipeServerProcessId(long ptr) kernel32.GetNamedPipeServerProcessId
@ st
ub GetNumaAvailableMemoryNodeEx
@ st
dcall GetNumaAvailableMemoryNodeEx(long ptr)
@ stdcall GetNumaNodeProcessorMask(long ptr) kernel32.GetNumaNodeProcessorMask
@ st
ub GetNumaProcessorNodeEx
@ st
dcall GetNumaProcessorNodeEx(ptr ptr)
@ stdcall GetShortPathNameA(str ptr long) kernel32.GetShortPathNameA
@ stdcall GetStartupInfoA(ptr) kernel32.GetStartupInfoA
@ stdcall GetStringTypeExA(long long str long ptr) kernel32.GetStringTypeExA
...
...
dlls/kernel32/kernel32.spec
View file @
52065a31
...
...
@@ -742,16 +742,16 @@
# @ stub GetNLSVersionEx
# @ stub GetNumaAvailableMemory
@ stdcall GetNumaAvailableMemoryNode(long ptr)
# @ stub GetNumaAvailableMemoryNodeEx
@ stdcall GetNumaAvailableMemoryNodeEx(long ptr)
@ stdcall GetNumaHighestNodeNumber(ptr)
# @ stub GetNumaNodeNumberFromHandle
@ stdcall GetNumaNodeProcessorMask(long ptr)
@ stdcall GetNumaNodeProcessorMaskEx(long ptr)
# @ stub GetNumaProcessorMap
@ stdcall GetNumaProcessorNode(long ptr)
# @ stub GetNumaProcessorNodeEx
# @ stub GetNumaProximityNode
# @ stub GetNumaProximityNodeEx
@ stdcall GetNumaProcessorNodeEx(ptr ptr)
@ stdcall GetNumaProximityNode(long ptr)
@ stdcall GetNumaProximityNodeEx(long ptr)
@ stdcall GetNumberFormatA(long long str ptr ptr long)
@ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long)
@ stdcall GetNumberFormatW(long long wstr ptr ptr long)
...
...
dlls/kernel32/process.c
View file @
52065a31
...
...
@@ -4459,6 +4459,16 @@ BOOL WINAPI GetNumaAvailableMemoryNode(UCHAR node, PULONGLONG available_bytes)
return
FALSE
;
}
/**********************************************************************
* GetNumaAvailableMemoryNodeEx (KERNEL32.@)
*/
BOOL
WINAPI
GetNumaAvailableMemoryNodeEx
(
USHORT
node
,
PULONGLONG
available_bytes
)
{
FIXME
(
"(%hu %p): stub
\n
"
,
node
,
available_bytes
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* GetNumaProcessorNode (KERNEL32.@)
*/
...
...
@@ -4480,6 +4490,33 @@ BOOL WINAPI GetNumaProcessorNode(UCHAR processor, PUCHAR node)
return
FALSE
;
}
/***********************************************************************
* GetNumaProcessorNodeEx (KERNEL32.@)
*/
BOOL
WINAPI
GetNumaProcessorNodeEx
(
PPROCESSOR_NUMBER
processor
,
PUSHORT
node_number
)
{
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* GetNumaProximityNode (KERNEL32.@)
*/
BOOL
WINAPI
GetNumaProximityNode
(
ULONG
proximity_id
,
PUCHAR
node_number
)
{
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* GetNumaProximityNodeEx (KERNEL32.@)
*/
BOOL
WINAPI
GetNumaProximityNodeEx
(
ULONG
proximity_id
,
PUSHORT
node_number
)
{
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/**********************************************************************
* GetProcessDEPPolicy (KERNEL32.@)
*/
...
...
dlls/kernelbase/kernelbase.spec
View file @
52065a31
...
...
@@ -576,7 +576,8 @@
# @ stub GetNextFgPolicyRefreshInfoInternal
@ stdcall GetNumaHighestNodeNumber(ptr) kernel32.GetNumaHighestNodeNumber
@ stdcall GetNumaNodeProcessorMaskEx(long ptr) kernel32.GetNumaNodeProcessorMaskEx
# @ stub GetNumaProximityNodeEx
@ stdcall GetNumaProximityNode(long ptr) kernel32.GetNumaProximityNode
@ stdcall GetNumaProximityNodeEx(long ptr) kernel32.GetNumaProximityNodeEx
@ stdcall GetNumberFormatEx(wstr long wstr ptr ptr long) kernel32.GetNumberFormatEx
@ stdcall GetNumberFormatW(long long wstr ptr ptr long) kernel32.GetNumberFormatW
@ stdcall GetNumberOfConsoleInputEvents(long ptr) kernel32.GetNumberOfConsoleInputEvents
...
...
include/winbase.h
View file @
52065a31
...
...
@@ -1684,6 +1684,7 @@ typedef enum _PROC_THREAD_ATTRIBUTE_NUM
ProcThreadAttributeParentProcess
=
0
,
ProcThreadAttributeHandleList
=
2
,
ProcThreadAttributeGroupAffinity
=
3
,
ProcThreadAttributePreferredNode
=
4
,
ProcThreadAttributeIdealProcessor
=
5
,
ProcThreadAttributeUmsThread
=
6
,
ProcThreadAttributeMitigationPolicy
=
7
,
...
...
@@ -1699,6 +1700,7 @@ typedef enum _PROC_THREAD_ATTRIBUTE_NUM
#define PROC_THREAD_ATTRIBUTE_PARENT_PROCESS (ProcThreadAttributeParentProcess | PROC_THREAD_ATTRIBUTE_INPUT)
#define PROC_THREAD_ATTRIBUTE_HANDLE_LIST (ProcThreadAttributeHandleList | PROC_THREAD_ATTRIBUTE_INPUT)
#define PROC_THREAD_ATTRIBUTE_GROUP_AFFINITY (ProcThreadAttributeGroupAffinity | PROC_THREAD_ATTRIBUTE_THREAD | PROC_THREAD_ATTRIBUTE_INPUT)
#define PROC_THREAD_ATTRIBUTE_PREFERRED_NODE (ProcThreadAttributePreferredNode | PROC_THREAD_ATTRIBUTE_INPUT)
#define PROC_THREAD_ATTRIBUTE_IDEAL_PROCESSOR (ProcThreadAttributeIdealProcessor | PROC_THREAD_ATTRIBUTE_THREAD | PROC_THREAD_ATTRIBUTE_INPUT)
#define PROC_THREAD_ATTRIBUTE_UMS_THREAD (ProcThreadAttributeUmsThread | PROC_THREAD_ATTRIBUTE_THREAD | PROC_THREAD_ATTRIBUTE_INPUT)
#define PROC_THREAD_ATTRIBUTE_MITIGATION_POLICY (ProcThreadAttributeMitigationPolicy | PROC_THREAD_ATTRIBUTE_INPUT)
...
...
@@ -2187,7 +2189,13 @@ WINBASEAPI BOOL WINAPI GetNamedPipeServerProcessId(HANDLE,PULONG);
WINBASEAPI
BOOL
WINAPI
GetNamedPipeServerSessionId
(
HANDLE
,
PULONG
);
WINBASEAPI
VOID
WINAPI
GetNativeSystemInfo
(
LPSYSTEM_INFO
);
WINBASEAPI
PUMS_CONTEXT
WINAPI
GetNextUmsListItem
(
PUMS_CONTEXT
);
WINBASEAPI
BOOL
WINAPI
GetNumaAvailableMemoryNode
(
UCHAR
,
PULONGLONG
);
WINBASEAPI
BOOL
WINAPI
GetNumaAvailableMemoryNodeEx
(
USHORT
,
PULONGLONG
);
WINBASEAPI
BOOL
WINAPI
GetNumaNodeProcessorMaskEx
(
USHORT
,
PGROUP_AFFINITY
);
WINBASEAPI
BOOL
WINAPI
GetNumaProcessorNode
(
UCHAR
,
PUCHAR
);
WINBASEAPI
BOOL
WINAPI
GetNumaProcessorNodeEx
(
PPROCESSOR_NUMBER
,
PUSHORT
);
WINBASEAPI
BOOL
WINAPI
GetNumaProximityNode
(
ULONG
,
PUCHAR
);
WINBASEAPI
BOOL
WINAPI
GetNumaProximityNodeEx
(
ULONG
,
PUSHORT
);
WINADVAPI
BOOL
WINAPI
GetNumberOfEventLogRecords
(
HANDLE
,
PDWORD
);
WINADVAPI
BOOL
WINAPI
GetOldestEventLogRecord
(
HANDLE
,
PDWORD
);
WINBASEAPI
BOOL
WINAPI
GetOverlappedResult
(
HANDLE
,
LPOVERLAPPED
,
LPDWORD
,
BOOL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment