[coreboot] SSDT _PPC return outside method body

Myles Watson mylesgw at gmail.com
Mon Mar 2 23:32:24 CET 2009


Rudolf,

In acpigen.c the code that should generate the _PPC method generates
code that when disassembled places the return outside the block.

Method (_PPC, 0, NotSerialized)
{
}
Return (0x00)

I played with it a little, but the best I could get was:

Method (_PPC, 0, NotSerialized)
{
    Return (0x00)
}
Zero

Note the extra zero after the block.  I think there's an error with
the length calculation (the argument to acpigen_patch_len() or the
return value of acpigen_write_PPC), but I'm not sure how to fix it.

Thanks,
Myles




More information about the coreboot mailing list