diff -r 65f2d62d7838 -r 2129ccee0bd1 Hardware/LPC/IT87XX.cs --- a/Hardware/LPC/IT87XX.cs Wed Aug 04 19:10:20 2010 +0000 +++ b/Hardware/LPC/IT87XX.cs Wed Aug 04 20:27:05 2010 +0000 @@ -118,9 +118,12 @@ r.Append("Chip Version: 0x"); r.AppendLine(version.ToString("X")); r.Append("Base Address: 0x"); r.AppendLine(address.ToString("X4")); r.AppendLine(); + + if (!WinRing0.WaitIsaBusMutex()) + return r.ToString(); + r.AppendLine("Environment Controller Registers"); r.AppendLine(); - r.AppendLine(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"); r.AppendLine(); for (int i = 0; i <= 0xA; i++) { @@ -138,10 +141,14 @@ } r.AppendLine(); + WinRing0.ReleaseIsaBusMutex(); + return r.ToString(); } public void Update() { + if (!WinRing0.WaitIsaBusMutex()) + return; for (int i = 0; i < voltages.Length; i++) { bool valid; @@ -182,7 +189,9 @@ } else { fans[i] = null; } - } + } + + WinRing0.ReleaseIsaBusMutex(); } } }