[SeaBIOS] DSDT: SMC device node (was: Fix HPET _CRS Method)
agraf at suse.de
Wed Dec 12 01:40:52 CET 2012
On 12.12.2012, at 01:30, Kevin O'Connor wrote:
> On Tue, Dec 11, 2012 at 09:53:47AM -0500, Gabriel L. Somlo wrote:
>> On Tue, Dec 11, 2012 at 09:33:21AM +0100, Alexander Graf wrote:
>>>> (1) as suggested add a special detection register to our applesmc
>>> This means we are different than real hw.
>>>> (2) find a spare bit in q35, next to the present bits for
>>> Which means we differ from real hw -> bad.
>>>> (osx wouldn't boot on piix4 anyway,
>>>> so we don't have to care, right?)
>>> It could, but you need to manually add an lpc device. I don't think we really care about the piix4 case though :).
>>>> (3) use fw_cfg.
>>>> (1) + (2) are easy to handle from AML code.
>> What do you guys think ?
> How about generating an SSDT with just the AppleSMC info in it, and
> then have qemu pass the SSDT into SeaBIOS using the existing ACPI
> table passing mechanism when the device is present.
That would mean we move the present detection to SeaBIOS which also simply talks to fw_cfg. So it doesn't really buy us anything over an _STA function, does it?
More information about the SeaBIOS