1.1 --- a/Hardware/CPU/CPUGroup.cs Sat May 22 12:12:50 2010 +0000
1.2 +++ b/Hardware/CPU/CPUGroup.cs Sat May 22 15:51:59 2010 +0000
1.3 @@ -101,6 +101,11 @@
1.4 }
1.5
1.6 public CPUGroup() {
1.7 + // No implementation for cpuid on Unix systems
1.8 + int p = (int)System.Environment.OSVersion.Platform;
1.9 + if ((p == 4) || (p == 128))
1.10 + return;
1.11 +
1.12 if (!WinRing0.IsCpuid())
1.13 return;
1.14
1.15 @@ -158,7 +163,9 @@
1.16 }
1.17
1.18 public string GetReport() {
1.19 -
1.20 + if (threads == null)
1.21 + return null;
1.22 +
1.23 StringBuilder r = new StringBuilder();
1.24
1.25 r.AppendLine("CPUID");