Author Topic: 2 definitions aml-DSDT-v?.trid.xml for ACPI Machine Language file; *.aml  (Read 281 times)


  • Full Member
  • ***
  • Posts: 153
Hello trid users,

some days ago i looked inside my qemu directory. There i found a file
with name extension aml which is not recognized by TrID. So i look for
more such files on my systems. When i run trid on such and similar
files these are described as "Unknown!" ( see appended

According to websites and such files
are ACPI Machine Language files. So i use that description in
definitions generated by tridscan.
Some information is found on ACPI page on Wikipedia. That is expressed
by reference URL line like:

According to the mentioned Advanced Configuration and Power Interface
Specification i began to refine the definition. My few real examples are
Differentiated System Description Tables, which are characterized at the
beginning by pattern:

My examples were created by iasl(1) ACPI tool found on web
site. This tool use the Vendor INTL. So i first found  pattern like:
   <ASCII> . . . I N T L</ASCII>
But for similar files like SLIC.bin i also found vendor ID MSFT ( See
appended output/file-new.txt) So i removed that pattern.

According to specification revision byte at offset 8 has a meaning for
the AML interpreter. Values less than two will cause the interpreter
to use 32-bit integers and math. Values of two and greater will cause
the interpreter to use full 64-bit integers and math. For my examples
i only found value 1 and 2. So generate two variants. The first
aml-DSDT-v1.trid.xml is for 32 bit with additional pattern
The second is for 64 bit with additional pattern:
I do not know if other revision numbers are used, but i mention these
facts in the remark line. Furthermore with this additional pattern
random ASCII text like DSDT.text starting with phrase DSDT are

The size of such ACPI tables is stored as 4 byte integer at offset
4. So in theory the upper limit limit is 4 GiB, but in reality only
lower sizes like 21469 appear. Because ACPI tables are part of PC BIOS
i assume that ACPI tables size are lower than 16 MiB. That means upper
is null. That is expressed by XML construct:
By this additional pattern also bad ASCII text samples are skipped.
On Linux systems such tables from BIOS can be generated by command
   cat /sys/firmwar/acpi/tables/DSDT MyDSDT.aml`

With the 2 new trid definitions all my inspected AML samples are
now described ( see appended output/trid-new.txt)

TrID definitions, output and some are stored in archive I
hope that my new 2 XML files can be used in future version of

With best wishes
Jörg Jenderek


  • Administrator
  • Hero Member
  • *****
  • Posts: 2085
    • Mark0's Home Page