Commit 785fde59 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

ntdll: Added numa node information to SystemLogicalProcessorInformation (Mac).

parent 6c2b7332
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment