[coreboot] [PATCH] Add the AML code generator for runtime code generation

Peter Stuge peter at stuge.se
Sun Feb 1 18:16:36 CET 2009

Rudolf Marek wrote:
> Following patch adds dynamic ACPI AML code generator which can be
> used to generate run-time ACPI ASL code like this:
> Name (XXX, 0xXX)
> Or:
>     Scope (\_SB.PCI0)
>     {
>  Name (BUSN, Package (0x04)
> {
>     0x11111111,
>     0x22222222,
>     0x33333333,
>     0x44444444
> })
> Moreover it demonstrates its use on Asus M2V-MX SE where the SSDT table is
> generated by new function k8acpi_write_vars (technically similar to
> update_ssdt). But lot of nicer ;)
> The ACPI binary code generator will be also useful for P-states generation,
> without ugly run-time patching of DSDT.
> The old SSDT of K8 will be removed and rest of boards converted in next patch.
> Tested on that board. It generates same table as the static SSDT patched by
> amdk8_acpi. Windows still boots too ;)
> Signed-off-by: Rudolf Marek <r.marek at assembler.cz>

Acked-by: Peter Stuge <peter at stuge.se>

More information about the coreboot mailing list