[SeaBIOS] [PATCH RFC] acpi: extract aml from .lst

Kevin O'Connor kevin at koconnor.net
Fri Oct 28 02:08:54 CEST 2011

On Wed, Oct 26, 2011 at 11:28:02PM +0200, Michael S. Tsirkin wrote:
> Add ACPI_EXTRACT_ALL_CODE directive, to support extracting
> AML code from listing into a named array. Use that instead including C
> file generated by iasl, this makes it possible to include multiple AML
> tables without resorting to preprocessor tricks.
> Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
> ---
> Kevin, you suggested something like the below, I think?  Seems to work
> but RFC since I didn't have time to test this properly.

It looks okay to me (I didn't do any exhaustive tests either).  It
would be preferable if we didn't have to change the acpi-dsdt.dsl file
though - that way users could still compile it with the iasl compiler
directly.  Can the output default to "AmlCode" if no directive is


More information about the SeaBIOS mailing list