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