diff -r 65f2d62d7838 -r 2129ccee0bd1 Hardware/LPC/F718XX.cs --- a/Hardware/LPC/F718XX.cs Wed Aug 04 19:10:20 2010 +0000 +++ b/Hardware/LPC/F718XX.cs Wed Aug 04 20:27:05 2010 +0000 @@ -87,9 +87,12 @@ r.AppendLine(); r.Append("Base Adress: 0x"); r.AppendLine(address.ToString("X4")); r.AppendLine(); + + if (!WinRing0.WaitIsaBusMutex()) + return r.ToString(); + r.AppendLine("Hardware Monitor 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 <= 0xF; i++) { @@ -101,10 +104,15 @@ r.AppendLine(); } r.AppendLine(); + + WinRing0.ReleaseIsaBusMutex(); + return r.ToString(); } public void Update() { + if (!WinRing0.WaitIsaBusMutex()) + return; for (int i = 0; i < voltages.Length; i++) { int value = ReadByte((byte)(VOLTAGE_BASE_REG + i)); @@ -154,7 +162,9 @@ fans[i] = (value < 0x0fff) ? 1.5e6f / value : 0; else fans[i] = null; - } + } + + WinRing0.ReleaseIsaBusMutex(); } } }