2 .\" Copyright (c) 2003 Nate Lawson
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer
10 .\" in this position and unchanged.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. The name of the author may not be used to endorse or promote products
15 .\" derived from this software without specific prior written permission.
17 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 .Nd Intel ACPI compiler/decompiler
65 utility is a compiler/decompiler for ACPI Source Language (ASL)
66 and ACPI Machine Language (AML).
70 .Bl -bullet -offset indent
72 Full support for the ACPI 3.0b Specification including ASL grammar
73 elements and operators.
75 Extensive compiler syntax and semantic error checking, especially in
76 the area of control methods.
77 This reduces the number of errors that are
78 not discovered until the AML code is actually interpreted (i.e., the
79 compile-time error checking reduces the number of run-time errors).
81 Multiple types of output files, including formatted listing files with
82 intermixed source, several types of AML files, and error messages.
85 .Bl -tag -width indent
87 Emit ACPI 2.0 compatible ASL code.
88 .It Fl b Sm Cm p | t | b Sm
89 Create compiler debug/trace file
91 Types: Parse/Tree/Both.
93 Parse only, no output generation.
95 Disassemble AML to ASL source code file
98 Disassemble AML and immediately compile it.
99 (Obtain DSDT from current system if no input file.)
103 statements for unresolved symbols.
105 Ignore errors, force creation of AML output file(s).
107 Get ACPI tables and write to files
110 Additional help and compiler debug options.
112 Display operators allowed in constant expressions.
114 Display ACPI reserved method names.
115 .It Fl i Sm Cm a | c Sm
116 Create assembler or C include file
121 Create mixed listing file (ASL source and AML)
124 Create namespace file
127 Create combined source file (expanded includes)
130 Disable all optimizations (compatibility mode).
132 Disable constant folding.
134 Disable integer optimization to Zero/One/Ones.
136 Disable named reference string optimization.
138 Display compile times.
140 Specify filename prefix for all output files (including
142 .It Fl s Sm Cm a | c Sm
143 Create AML in assembler or C source file
148 Create AML in assembler or C hex table
151 Less verbose errors and warnings for use with IDEs.
153 Enable optimization comments.
159 Set debug level for trace output.
169 utility is provided with Intel ACPI-CA.
176 utility was written by
178 This manual page was written by