Blame SOURCES/iasl.1

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