1IASL(1) General Commands Manual IASL(1)
2
3
4
6 iasl - ACPI Source Language compiler/decompiler
7
9 iasl [<option>...] <input-file> ...
10
12 This manual page briefly documents the iasl command. The option list is
13 taken from the iasl interactive help.
14
15 iasl is an ASL compiler and decompiler. This command provides both the
16 ability to translate one or more ASL source files to their correspondā
17 ing AML binary files, and the ability to translate AML binary files
18 back to readable ASL source.
19
20 Much more detailed documentation may be found at
21 http://www.acpica.org/documentation/.
22
23
25 Global
26 -@ <file>
27 Specify command file
28
29 -I <dir>
30 Specify additional include directory
31
32 -T <sig>|ALL|*
33 Create table template file for ACPI <sig>
34
35 -v Display compiler version
36
37
38 Preprocessor
39 -D <symbol>
40 Define sybol for preprocessor use
41
42 -li Create prepocessed output file (*.i)
43
44 -P Preprocess only and create preprocessor output file (*.i)
45
46 -Pn Disable preprocessor
47
48
49 General Output
50 -p <prefix>
51 Specify path/filename prefix for all output files
52
53 -va Disable all errors and warnings (summary only)
54
55 -vi Less verbose errors and warnings for use with IDEs
56
57 -vo Enable optimization comments
58
59 -vr Disable remarks
60
61 -vs Disable signon
62
63 -w{1|2|3}
64 Set warning reporting level
65
66 -we Report warnings as errors
67
68
69 AML and Data Output Files
70 -s{a|c}
71 Create assembler or C source file (*.asm or *.c)
72
73 -i{a|c}
74 Create assembler or C include file (*.inc or *.h)
75
76 -t{a|c|s}
77 Create assembler, C, or ASL hex table (*.hex)
78
79
80 AML Code Generation
81 -oa Disable all optimizations (compatibility mode)
82
83 -of Disable constant folding
84
85 -oi Disable integer optimization to Zero/One/Ones
86
87 -on Disable named reference string optimization
88
89 -cr Disable Resource Descriptor error checking
90
91 -in Ignore NoOp operators
92
93 -r <revision>
94 Override table header Revision (1-255)
95
96
97 ASL Listing Files
98 -l Create mixed listing file (ASL source and AML) (*.lst)
99
100 -ln Create namespace file (*.nsp)
101
102 -ls Create combined source file (expanded includes) (*.src)
103
104
105 ACPI Data Tables
106 -G Compile custom table containing generic operators
107
108 -vt Create verbose templates (full disassembly)
109
110
111 AML Disassembler
112 -d [<file>]
113 Disassemble AML to ASL source code file (*.dsl)
114
115 -da [<file1>,<file2>]
116 Disassemble multiple tables from single namespace
117
118 -db Do not translate Buffers to Resource Templates
119
120 -dc [<file>]
121 Disassemble AML and immediately compile it
122 (Obtain DSDT from current system if no input file)
123
124 -e [<file1>,<file2>]
125 Include ACPI table(s) for external symbol resolution
126
127 -g Get ACPI tables and write to files (*.dat)
128
129 -in Ignore NoOp opcodes
130
131 -vt Dump binary table date in hex format within output file
132
133
134 Help
135 -h Additional help and compiler debug options
136
137 -hc Display operators allowed in constant expressions
138
139 -hf Display help for output file name generation
140
141 -hr Display ACPI reserved method names
142
143 -ht Display currently supported ACPI table names
144
145
146 Debug
147 -b{f|t}
148 Create debug file (full or parse tree only) (*.txt)
149
150 -f Ignore errors, force creation of AML output file(s)
151
152 -n Parse only, no output generation
153
154 -ot Display compiles times and statistics
155
156 -x <level>
157 Set debug level for trace output
158
159 -z Do not insert new compiler ID for DataTables
160
161
163 iasl was written by Robert Moore <robert.moore@intel.com>.
164
165 This manual page was written by Mattia Dongili <malattia@debian.org>,
166 for the Debian project (but may be used by others). It was updated for
167 the Fedora project by Al Stone <ahs3@redhat.com> (and may also be used
168 by others).
169
170
171
172 January 23, 2013 IASL(1)