1.1 --- a/Hardware/WinRing0.cs Mon Apr 05 21:31:21 2010 +0000
1.2 +++ b/Hardware/WinRing0.cs Sat Apr 24 19:59:52 2010 +0000
1.3 @@ -79,10 +79,11 @@
1.4
1.5 public delegate uint GetDllStatusDelegate();
1.6 public delegate bool IsCpuidDelegate();
1.7 - public delegate bool CpuidDelegate(uint index,
1.8 + public delegate bool CpuidDelegate(uint index, uint ecxValue,
1.9 out uint eax, out uint ebx, out uint ecx, out uint edx);
1.10 - public delegate bool CpuidExDelegate(uint index, uint ecxValue,
1.11 - out uint eax, out uint ebx, out uint ecx, out uint edx);
1.12 + public delegate bool CpuidTxDelegate(uint index, uint ecxValue,
1.13 + out uint eax, out uint ebx, out uint ecx, out uint edx,
1.14 + UIntPtr threadAffinityMask);
1.15 public delegate bool RdmsrDelegate(uint index, out uint eax, out uint edx);
1.16 public delegate bool RdmsrTxDelegate(uint index, out uint eax, out uint edx,
1.17 UIntPtr threadAffinityMask);
1.18 @@ -105,7 +106,7 @@
1.19 public static GetDllStatusDelegate GetDllStatus;
1.20 public static IsCpuidDelegate IsCpuid;
1.21 public static CpuidDelegate Cpuid;
1.22 - public static CpuidExDelegate CpuidEx;
1.23 + public static CpuidTxDelegate CpuidTx;
1.24 public static RdmsrDelegate Rdmsr;
1.25 public static RdmsrTxDelegate RdmsrTx;
1.26 public static ReadIoPortByteDelegate ReadIoPortByte;
1.27 @@ -134,7 +135,7 @@
1.28 GetDelegate("GetDllStatus", out GetDllStatus);
1.29 GetDelegate("IsCpuid", out IsCpuid);
1.30 GetDelegate("Cpuid", out Cpuid);
1.31 - GetDelegate("CpuidEx", out CpuidEx);
1.32 + GetDelegate("CpuidTx", out CpuidTx);
1.33 GetDelegate("Rdmsr", out Rdmsr);
1.34 GetDelegate("RdmsrTx", out RdmsrTx);
1.35 GetDelegate("ReadIoPortByte", out ReadIoPortByte);