[SeaBIOS] [PATCH v2 0/6] Build PCI hotplug SSDT from a single template

Kevin O'Connor kevin at koconnor.net
Sat Aug 4 04:38:54 CEST 2012


On Fri, Aug 03, 2012 at 05:57:41PM +0200, Paolo Bonzini wrote:
> Il 03/08/2012 16:53, Jason Baron ha scritto:
> > I think this patch should be ok. Its harder for me in the sense that I
> > need to re-do my patch :)
> > 
> > Here's my current ssdt-pcihp.dsl patch, maybe Paolo can spot if there
> > would be any conflicts. I suspect, the auto generation that Paolo is
> > doing is actually going to simplify things in general for these typtes
> > of nested tables.
> 
> There are two parts here.
> 
> One is the actual declaration of the devices, and here I think my patch
> is actually going to simplify things a bit.  The second level of devices
> can stay in ssdt-pcihp.dsl, and it will just work.
> 
> The second is the huge PCNT method.  I made a couple of (feeble)
> attempts at rewriting it using DerefOf, like this:
> 
>         Name(DEVS, Package(32) { Zero,
>             ".S01_", ".S02_", ".S03_", ".S04_", ".S05_", ".S06_",

When I was working on the CPU hotplug stuff I tried a couple of
different ways (including DerefOf) to make calling Notify more
dynamic.  I couldn't find anyway to make it work which is why I ended
up dynamically building a method with a list of objects to
conditinally call Notify on.

-Kevin



More information about the SeaBIOS mailing list