[SeaBIOS] [PATCH 1/4] acpi: generate mixed asl/aml listing

Michael S. Tsirkin mst at redhat.com
Wed Sep 21 14:47:40 CEST 2011


On Wed, Sep 21, 2011 at 03:44:21PM +0300, Michael S. Tsirkin wrote:
> Use iasl -l flag to produce a mixed listing, where a
> source line is followed by matching AML.
> Since we use a preprocessed input, this generates long lines with
> multiple commands per line. To make it possible to match
> AML to source exactly, split the input that we supply iasl,
> with each command on a separate line.
> 
> Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

I thought I'd add an example listing here:
     467....     Device (S1) {

0000080B....5B 82 25 53 31 5F 5F ...    "[.%S1__"

     468.... Name (_ADR, 0x00010000)

00000812....08 5F 41 44 52 0C 00 00     "._ADR..."
0000081A....01 00 ..................    ".."

     469.... Method (EJ0_,1) {

0000081C....14 0F 45 4A 30 5F 01 ...    "..EJ0_."

     470.... Store(ShiftLeft(1, 0x0001), B0EJ)

-- 
MST



More information about the SeaBIOS mailing list