mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
ntdll: Added numa node information to SystemLogicalProcessorInformation (Mac).
This commit is contained in:
parent
6c2b7332d3
commit
785fde5920
@ -1648,6 +1648,14 @@ static NTSTATUS create_logical_proc_info(SYSTEM_LOGICAL_PROCESSOR_INFORMATION **
|
||||
len++;
|
||||
}
|
||||
|
||||
mask = 0;
|
||||
for(i=0; i<lcpu_no; i++)
|
||||
mask |= (ULONG_PTR)1<<i;
|
||||
(*data)[len].Relationship = RelationNumaNode;
|
||||
(*data)[len].ProcessorMask = mask;
|
||||
(*data)[len].u.NumaNode.NodeNumber = 0;
|
||||
len++;
|
||||
|
||||
*max_len = len * sizeof(**data);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user