http://bugs.winehq.org/show_bug.cgi?id=7766
Summary: GetSystemInfo returns incorrect processor mask for MP systems Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: juan_lang@yahoo.com
GetSystemInfo counts the number of processors in dwNumberOfProcessors, but dwActiveProcessorMask remains 1 even if multiple processors are present.
Steps to reproduce: 1. Write a program which calls GetSystemInfo and prints the processors mask, e.g.: SYSTEM_INFO si;
GetSystemInfo(&si); printf("%lx\n", si.dwActiveProcessorMask); 2. Run this program on an SMP system.
Expected results: On a 2-CPU system, the printout should be 00000003.
Actual results: 00000001