[SeaBIOS] [PATCH 3/3] acpi: revert d9f5cdbdf (DSDT: Fix HPET _CRS Method)

Gerd Hoffmann kraxel at redhat.com
Thu Dec 6 18:07:20 CET 2012


  Hi,

> +        Method(_CRS, 0) {
> +            Store(\_SB.PCI0.ISA.SMC._STA(), Local0)
> +            If (LEqual(Local0, 0)) {
> +                Return (RESP)
> +            } else {
> +                ConcatenateResTemplate(RESP, RESI, Local1)
> +                Return (Local1)
> +            }
> +        }
>      }
>  }

> Windows XP now works fine. If I hardcode the SMC._STA() to return 0
> instead, XP still works (OS X obviously does not :)

Interesting.

> If I could figure out how to write a reliable _STA method for the SMC,
> that would detect whether or not it was supplied as "-device applesmc"
> on the qemu command line, I think we might be on to something...

I've tried something simliar, but simply using the _STA method of the
hpet.  That somehow hints our hpet _STA method isn't working reliable on
windows xp.  I'll go to digg, but that has to wait until tomorrow.

cheers,
  Gerd



More information about the SeaBIOS mailing list