# HG changeset patch # User moel.mich # Date 1272353506 0 # Node ID 9620449d26204047b82bf361608393892c591b63 # Parent f8589379e32c78f83af905f0d331a26752fb572d Another small fix of the coreId calculation for multi-CPU systems. diff -r f8589379e32c -r 9620449d2620 Hardware/CPU/CPUID.cs --- a/Hardware/CPU/CPUID.cs Mon Apr 26 19:22:42 2010 +0000 +++ b/Hardware/CPU/CPUID.cs Tue Apr 27 07:31:46 2010 +0000 @@ -194,7 +194,7 @@ processorId = (uint)(apicId >> (int)(coreMaskWith + threadMaskWith)); coreId = (uint)((apicId >> (int)(threadMaskWith)) - - (processorId << (int)(coreMaskWith + threadMaskWith))); + - (processorId << (int)(coreMaskWith))); threadId = apicId - (processorId << (int)(coreMaskWith + threadMaskWith)) - (coreId << (int)(threadMaskWith));