Blame SOURCES/iasl.1

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