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