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

ron minnich rminnich at gmail.com
Mon Feb 2 20:28:55 CET 2009


On Mon, Feb 2, 2009 at 10:11 AM, Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2006 at gmx.net> wrote:

> However, it is rather inconvenient to generate all the ACPI code at
> runtime. Of course, we need ACPI code generation for exchangeable
> devices like the CPU. But tables which are static anyway should not need
> code generation. What do you think about a solution which simply
> references the externally compiled AML for static table parts? That way,
> we have one common interface and only the minimum needed complexity.

So what we need in the general case are static tables that can be
extended at runtime as we gather more info. The static tables are
'attached'
ot the mainboard during (in v3 terms) phase 7 so, yes, I like this a lot.

I think it ought to be possible to use our object model to remove the
weak symbol and add this kind of functionality.

that said, Rudolf's code doesn't rule this idea out since his code is
v2; I certainly don't want to block progress, so let's leave it as a
suggestion for v3 and, if you want, we can try to do this in v2.

ron




More information about the coreboot mailing list