[SeaBIOS] DSDT: SMC device node (was: Fix HPET _CRS Method)
kevin at koconnor.net
Wed Dec 12 01:30:26 CET 2012
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
> > > emulation.
> > This means we are different than real hw.
> > > (2) find a spare bit in q35, next to the present bits for
> > > serial/parallel/floppy
> > 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.
More information about the SeaBIOS