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