Scroll to navigation

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
Specify additional include directory
Create table template file for ACPI <sig>
Display compiler version
Display compiler build date and time

Preprocessor

Define sybol for preprocessor use
Create prepocessed output file (*.i)
Preprocess only and create preprocessor output file (*.i)
Disable preprocessor

General Output

Specify path/filename prefix for all output files
Disable deterministic output
Disable all errors and warnings (summary only)
Report only errors (ignore warnings and remarks)
Less verbose errors and warnings for use with IDEs
Enable optimization comments
Disable remarks
Disable signon
Ignore specific error, warning or remark
Expect a specific warning, remark, or error
Set warning reporting level
Report warnings as errors
Report specific warning or remark as error

AML and Data Output Files

Create assembler or C source file (*.asm or *.c)
Create assembler or C include file (*.inc or *.h)
Create assembler, C, or ASL hex table (*.hex)

AML Code Generation

Disable all optimizations (compatibility mode)
Disable constant folding
Disable integer optimization to Zero/One/Ones
Disable named reference string optimization
Disable typechecking
Disable Resource Descriptor error checking
Ignore NoOp operators
Override table header Revision (1-255)

ASL Listing Files

Create mixed listing file (ASL source and AML) (*.lst)
Create hardware summary map file (*.map)
Create namespace file (*.nsp)
Create combined source file (expanded includes) (*.src)
Create cross-reference file (*.xrf)

Firmware Support - C Text Output

Create hex AML table in C (*.hex)
Create named hex AML arrays in C (*.c)
Create include file in C for -sc symbols (*.h)
Create namespace AML offset table in C (*.offset.h)

Firmware Support - Assembler Text Output

Create hex AML table in assembler (*.hex)
Create named hex AML arrays in assembler (*.asm)
Create include file in assembler for -sa symbols (*.inc)

Firmware Support - ASL Text Output

Create hex AML table in ASL (Buffer object) (*.hex)

Legacy-ASL to ASL+ Converter:

Convert legacy-ASL source file to new ASL+ file
(Original comments are passed through to ASL+ file)

ACPI Data Tables

Compile tables with flex/bison prototype
Compile custom table containing generic operators
Create verbose templates (full disassembly)

AML Disassembler

Disassemble AML to ASL source code file (*.dsl)
Disassemble multiple tables from single namespace
Do not translate Buffers to Resource Templates
Disassemble AML and immediately compile it
(Obtain DSDT from current system if no input file)
Force disassembler to assume table contains valid AML
Emit legacy ASL code only (no C-style operators)
Specify a table signature(4) (CDAT table only)
Include ACPI table(s) for external symbol resolution
Specify external symbol declaration file
Get ACPI tables and write to files (*.dat)
Ignore NoOp opcodes
Dump binary table date in hex format within output file

Help

Additional help and compiler debug options
Display operators allowed in constant expressions
Info for obtaining and disassembling binary ACPI tables
Display help for output file name generation
Display ACPI reserved method names
Display currently supported ACPI table names

Debug

Create converter debug file (*.cdb)
Create debug file (full output) (*.txt)
Create debug file (parse tree only) (*.txt)
Prune ASL parse tree
Object type to be pruned from the parse tree
Ignore errors, force creation of AML output file(s)
Set internal line buffer size (in Kbytes)
Parse only, no output generation
Display compile times and statistics
Set debug level for trace output
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