[coreboot] AML code generator

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Mon Dec 29 02:04:51 CET 2008


On 25.12.2008 22:13, Rudolf Marek wrote:
> Hello,
>
> The Coreboot will need ACPI bytecode (AML) generotor. Right now it
> uses quite hackish solution. It let the compiler compile the the
> table, and it has hardcoded binary offsets. Check amdk8_acpi.c. It
> somehow works, but for ACPI P-states we will need to generate the ACPI
> objects at runtime. This may be necessary also for C7 and perhaps for
> Intel too.
>
> I wrote some proof of concept of such generator. Now it generates a
> skelleton for P-states and also some objects for amdk8_acpi.c

The AMD DBM690T target already has code in
src/mainboard/amd/dbm690t/acpi_tables.c to autogenerate the SSDT with
ACPI P-States. Can you look at that code and comment?

Thanks!

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list