1.1 --- a/Hardware/CPU/CPUID.cs Mon Oct 18 07:18:14 2010 +0000
1.2 +++ b/Hardware/CPU/CPUID.cs Sun Oct 31 22:08:47 2010 +0000
1.3 @@ -107,7 +107,7 @@
1.4 throw new ArgumentOutOfRangeException("thread");
1.5 UIntPtr mask = (UIntPtr)(1L << thread);
1.6
1.7 - if (WinRing0.CpuidTx(CPUID_0, 0,
1.8 + if (Opcode.CpuidTx(CPUID_0, 0,
1.9 out eax, out ebx, out ecx, out edx, mask)) {
1.10 if (eax > 0)
1.11 maxCpuid = eax;
1.12 @@ -131,7 +131,7 @@
1.13 break;
1.14 }
1.15 eax = ebx = ecx = edx = 0;
1.16 - if (WinRing0.CpuidTx(CPUID_EXT, 0,
1.17 + if (Opcode.CpuidTx(CPUID_EXT, 0,
1.18 out eax, out ebx, out ecx, out edx, mask)) {
1.19 if (eax > CPUID_EXT)
1.20 maxCpuidExt = eax - CPUID_EXT;
1.21 @@ -149,19 +149,19 @@
1.22
1.23 cpuidData = new uint[maxCpuid + 1, 4];
1.24 for (uint i = 0; i < (maxCpuid + 1); i++)
1.25 - WinRing0.CpuidTx(CPUID_0 + i, 0,
1.26 + Opcode.CpuidTx(CPUID_0 + i, 0,
1.27 out cpuidData[i, 0], out cpuidData[i, 1],
1.28 out cpuidData[i, 2], out cpuidData[i, 3], mask);
1.29
1.30 cpuidExtData = new uint[maxCpuidExt + 1, 4];
1.31 for (uint i = 0; i < (maxCpuidExt + 1); i++)
1.32 - WinRing0.CpuidTx(CPUID_EXT + i, 0,
1.33 + Opcode.CpuidTx(CPUID_EXT + i, 0,
1.34 out cpuidExtData[i, 0], out cpuidExtData[i, 1],
1.35 out cpuidExtData[i, 2], out cpuidExtData[i, 3], mask);
1.36
1.37 StringBuilder nameBuilder = new StringBuilder();
1.38 for (uint i = 2; i <= 4; i++) {
1.39 - if (WinRing0.CpuidTx(CPUID_EXT + i, 0,
1.40 + if (Opcode.CpuidTx(CPUID_EXT + i, 0,
1.41 out eax, out ebx, out ecx, out edx, mask))
1.42 {
1.43 AppendRegister(nameBuilder, eax);