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