table of contents
| IASL(1) | General Commands Manual | IASL(1) |
NAME¶
iasl - ACPI Source Language compiler/decompiler
SYNOPSIS¶
iasl [<option>...] <input-file> ...
DESCRIPTION¶
This manual page briefly documents the iasl command. The option list is taken from the iasl interactive help.
iasl is an ASL compiler and decompiler. This command provides both the ability to translate one or more ASL source files to their corresponding AML binary files, and the ability to translate AML binary files back to readable ASL source.
Much more detailed documentation may be found at http://www.acpica.org/documentation/.
OPTIONS¶
Global¶
- -@ <file>
- Specify command file
- -I <dir>
- Specify additional include directory
- -T <sig>|ALL|*
- Create table template file for ACPI <sig>
- -v
- Display compiler version
- -vd
- Display compiler build date and time
Preprocessor¶
- -D <symbol>
- Define sybol for preprocessor use
- -li
- Create prepocessed output file (*.i)
- -P
- Preprocess only and create preprocessor output file (*.i)
- -Pn
- Disable preprocessor
General Output¶
- -p <prefix>
- Specify path/filename prefix for all output files
- -ld
- Disable deterministic output
- -va
- Disable all errors and warnings (summary only)
- -ve
- Report only errors (ignore warnings and remarks)
- -vi
- Less verbose errors and warnings for use with IDEs
- -vo
- Enable optimization comments
- -vr
- Disable remarks
- -vs
- Disable signon
- -vw <messageid>
- Ignore specific error, warning or remark
- -vx <messageid>
- Expect a specific warning, remark, or error
- -w{1|2|3}
- Set warning reporting level
- -we
- Report warnings as errors
- -ww <messageid>
- Report specific warning or remark as error
AML and Data Output Files¶
AML Code Generation¶
- -oa
- Disable all optimizations (compatibility mode)
- -of
- Disable constant folding
- -oi
- Disable integer optimization to Zero/One/Ones
- -on
- Disable named reference string optimization
- -ot
- Disable typechecking
- -cr
- Disable Resource Descriptor error checking
- -in
- Ignore NoOp operators
- -r <revision>
- Override table header Revision (1-255)
ASL Listing Files¶
Firmware Support - C Text Output¶
Firmware Support - Assembler Text Output¶
Firmware Support - ASL Text Output¶
- -ts
- Create hex AML table in ASL (Buffer object) (*.hex)
Legacy-ASL to ASL+ Converter:¶
- -ca <file>
- Convert legacy-ASL source file to new ASL+ file
(Original comments are passed through to ASL+ file)
ACPI Data Tables¶
AML Disassembler¶
- -d [<file>]
- Disassemble AML to ASL source code file (*.dsl)
- -da [<file1>,<file2>]
- Disassemble multiple tables from single namespace
- -db
- Do not translate Buffers to Resource Templates
- -dc [<file>]
- Disassemble AML and immediately compile it
(Obtain DSDT from current system if no input file) - -df
- Force disassembler to assume table contains valid AML
- -dl
- Emit legacy ASL code only (no C-style operators)
- -ds <signature(4)>
- Specify a table signature(4) (CDAT table only)
- -e [<file1>,<file2>]
- Include ACPI table(s) for external symbol resolution
- -fe <file>
- Specify external symbol declaration file
- -g
- Get ACPI tables and write to files (*.dat)
- -in
- Ignore NoOp opcodes
- -vt
- Dump binary table date in hex format within output file
Help¶
Debug¶
- -bc
- Create converter debug file (*.cdb)
- -bf
- Create debug file (full output) (*.txt)
- -bs
- Create debug file (parse tree only) (*.txt)
- -bp <depth>
- Prune ASL parse tree
- -bt <type>
- Object type to be pruned from the parse tree
- -f
- Ignore errors, force creation of AML output file(s)
- -m <size>
- Set internal line buffer size (in Kbytes)
- -n
- Parse only, no output generation
- -oc
- Display compile times and statistics
- -x <level>
- Set debug level for trace output
- -z
- Do not insert new compiler ID for DataTables
AUTHOR¶
iasl was written by Robert Moore <robert.moore@intel.com>.
This manual page was written by Mattia Dongili <malattia@debian.org>, for the Debian project (but may be used by others). It was updated for the Fedora project by Al Stone <ahs3@redhat.com> (and may also be used by others).
| January 23, 2013 |