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