afae4e7
.\" First parameter, NAME, should be all caps
afae4e7
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
afae4e7
.\" other parameters are allowed: see man(7), man(1)
afae4e7
.TH IASL 1 "January 23, 2013"
afae4e7
.\" Please adjust this date whenever revising the manpage.
afae4e7
.\"
afae4e7
.\" Some roff macros, for reference:
afae4e7
.\" .nh        disable hyphenation
afae4e7
.\" .hy        enable hyphenation
afae4e7
.\" .ad l      left justify
afae4e7
.\" .ad b      justify to both left and right margins
afae4e7
.\" .nf        disable filling
afae4e7
.\" .fi        enable filling
afae4e7
.\" .br        insert line break
afae4e7
.\" .sp <n>    insert n+1 empty lines
afae4e7
.\" for manpage-specific macros, see man(7)
afae4e7
.SH NAME
afae4e7
iasl \- ACPI Source Language compiler/decompiler
afae4e7
.SH SYNOPSIS
afae4e7
.B iasl
afae4e7
.RI [ <option> ... ]
afae4e7
.RI <input-file>
afae4e7
.B ...
afae4e7
.SH DESCRIPTION
afae4e7
This manual page briefly documents the
afae4e7
.B iasl
afae4e7
command. The option list is taken from the iasl interactive help.
afae4e7
.PP
afae4e7
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
afae4e7
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
afae4e7
.\" respectively.
afae4e7
.B iasl
afae4e7
is an ASL compiler and decompiler.  This command provides both the ability
afae4e7
to translate one or more ASL source files to their corresponding AML binary
afae4e7
files, and the ability to translate AML binary files back to readable
afae4e7
ASL source.
afae4e7
.PP
afae4e7
Much more detailed documentation may be found at
afae4e7
http://www.acpica.org/documentation/.
afae4e7
afae4e7
.SH OPTIONS
afae4e7
afae4e7
.PP
afae4e7
.SS Global
afae4e7
.TP
afae4e7
.B \-@ <file>
afae4e7
Specify command file
afae4e7
.TP
afae4e7
.B \-I <dir>
afae4e7
Specify additional include directory
afae4e7
.TP
afae4e7
.B \-T <sig>|ALL|*
afae4e7
Create table template file for ACPI <sig>
afae4e7
.TP
afae4e7
.B \-v
afae4e7
Display compiler version
afae4e7
afae4e7
.PP
afae4e7
.SS Preprocessor
afae4e7
.TP
afae4e7
.B \-D <symbol>
afae4e7
Define sybol for preprocessor use
afae4e7
.TP
afae4e7
.B \-li
afae4e7
Create prepocessed output file (*.i)
afae4e7
.TP
afae4e7
.B \-P
afae4e7
Preprocess only and create preprocessor output file (*.i)
afae4e7
.TP
afae4e7
.B \-Pn
afae4e7
Disable preprocessor
afae4e7
afae4e7
.PP
afae4e7
.SS General Output
afae4e7
.TP
afae4e7
.B \-p <prefix>
afae4e7
Specify path/filename prefix for all output files
afae4e7
.TP
afae4e7
.B \-va
afae4e7
Disable all errors and warnings (summary only)
afae4e7
.TP
afae4e7
.B \-vi
afae4e7
Less verbose errors and warnings for use with IDEs
afae4e7
.TP
afae4e7
.B \-vo
afae4e7
Enable optimization comments
afae4e7
.TP
afae4e7
.B \-vr
afae4e7
Disable remarks
afae4e7
.TP
afae4e7
.B \-vs
afae4e7
Disable signon
afae4e7
.TP
afae4e7
.B \-w{1|2|3}
afae4e7
Set warning reporting level
afae4e7
.TP
afae4e7
.B \-we
afae4e7
Report warnings as errors
afae4e7
afae4e7
.PP
afae4e7
.SS AML and Data Output Files
afae4e7
.TP
afae4e7
.B \-s{a|c}
afae4e7
Create assembler or C source file (*.asm or *.c)
afae4e7
.TP
afae4e7
.B \-i{a|c}
afae4e7
Create assembler or C include file (*.inc or *.h)
afae4e7
.TP
afae4e7
.B \-t{a|c|s}
afae4e7
Create assembler, C, or ASL hex table (*.hex)
afae4e7
afae4e7
.PP
afae4e7
.SS AML Code Generation
afae4e7
.TP
afae4e7
.B \-oa
afae4e7
Disable all optimizations (compatibility mode)
afae4e7
.TP
afae4e7
.B \-of
afae4e7
Disable constant folding
afae4e7
.TP
afae4e7
.B \-oi
afae4e7
Disable integer optimization to Zero/One/Ones
afae4e7
.TP
afae4e7
.B \-on
afae4e7
Disable named reference string optimization
afae4e7
.TP
afae4e7
.B \-cr
afae4e7
Disable Resource Descriptor error checking
afae4e7
.TP
afae4e7
.B \-in
afae4e7
Ignore NoOp operators
afae4e7
.TP
afae4e7
.B \-r <revision>
afae4e7
Override table header Revision (1-255)
afae4e7
afae4e7
.PP
afae4e7
.SS ASL Listing Files
afae4e7
.TP
afae4e7
.B \-l
afae4e7
Create mixed listing file (ASL source and AML) (*.lst)
afae4e7
.TP
afae4e7
.B \-ln
afae4e7
Create namespace file (*.nsp)
afae4e7
.TP
afae4e7
.B \-ls
afae4e7
Create combined source file (expanded includes) (*.src)
afae4e7
afae4e7
.PP
afae4e7
.SS ACPI Data Tables
afae4e7
.TP
afae4e7
.B \-G
afae4e7
Compile custom table containing generic operators
afae4e7
.TP
afae4e7
.B \-vt
afae4e7
Create verbose templates (full disassembly)
afae4e7
afae4e7
.PP
afae4e7
.SS AML Disassembler
afae4e7
.TP
afae4e7
.B \-d [<file>]
afae4e7
Disassemble AML to ASL source code file (*.dsl)
afae4e7
.TP
afae4e7
.B \-da [<file1>,<file2>]
afae4e7
Disassemble multiple tables from single namespace
afae4e7
.TP
afae4e7
.B \-db
afae4e7
Do not translate Buffers to Resource Templates
afae4e7
.TP
afae4e7
.B \-dc [<file>]
afae4e7
Disassemble AML and immediately compile it
afae4e7
.br
afae4e7
(Obtain DSDT from current system if no input file)
afae4e7
.TP
afae4e7
.B \-e [<file1>,<file2>]
afae4e7
Include ACPI table(s) for external symbol resolution
afae4e7
.TP
afae4e7
.B \-g
afae4e7
Get ACPI tables and write to files (*.dat)
afae4e7
.TP
afae4e7
.B \-in
afae4e7
Ignore NoOp opcodes
afae4e7
.TP
afae4e7
.B \-vt
afae4e7
Dump binary table date in hex format within output file
afae4e7
afae4e7
.PP
afae4e7
.SS Help
afae4e7
.TP
afae4e7
.B \-h
afae4e7
Additional help and compiler debug options
afae4e7
.TP
afae4e7
.B \-hc
afae4e7
Display operators allowed in constant expressions
afae4e7
.TP
afae4e7
.B \-hf
afae4e7
Display help for output file name generation
afae4e7
.TP
afae4e7
.B \-hr
afae4e7
Display ACPI reserved method names
afae4e7
.TP
afae4e7
.B \-ht
afae4e7
Display currently supported ACPI table names
afae4e7
afae4e7
.PP
afae4e7
.SS Debug
afae4e7
.TP
afae4e7
.B \-b{f|t}
afae4e7
Create debug file (full or parse tree only) (*.txt)
afae4e7
.TP
afae4e7
.B \-f
afae4e7
Ignore errors, force creation of AML output file(s)
afae4e7
.TP
afae4e7
.B \-n
afae4e7
Parse only, no output generation
afae4e7
.TP
afae4e7
.B \-ot
afae4e7
Display compiles times and statistics
afae4e7
.TP
afae4e7
.B \-x <level>
afae4e7
Set debug level for trace output
afae4e7
.TP
afae4e7
.B \-z
afae4e7
Do not insert new compiler ID for DataTables
afae4e7
afae4e7
.SH AUTHOR
afae4e7
iasl was written by Robert Moore <robert.moore@intel.com>.
afae4e7
.PP
afae4e7
This manual page was written by Mattia Dongili <malattia@debian.org>,
afae4e7
for the Debian project (but may be used by others).  It was updated for
afae4e7
the Fedora project by Al Stone <ahs3@redhat.com> (and may also be used
afae4e7
by others).