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