Lines 35-46
Link Here
|
35 |
.Nd Intel ACPI compiler/decompiler |
35 |
.Nd Intel ACPI compiler/decompiler |
36 |
.Sh SYNOPSIS |
36 |
.Sh SYNOPSIS |
37 |
.Nm |
37 |
.Nm |
38 |
.Op Fl 2cefghl |
38 |
.Op Fl 2fghlnz |
|
|
39 |
.Op Fl @ Ar file |
40 |
.Op Fl I Ar dir |
41 |
.Op Fl T Ar Sig |
39 |
.Op Fl b Ar type |
42 |
.Op Fl b Ar type |
|
|
43 |
.Op Fl cr |
40 |
.Op Fl d Ar file |
44 |
.Op Fl d Ar file |
|
|
45 |
.Op Fl da Ar table,table,... |
41 |
.Op Fl dc Ar file |
46 |
.Op Fl dc Ar file |
|
|
47 |
.Op Fl e Ar table,table,... |
42 |
.Op Fl hc |
48 |
.Op Fl hc |
43 |
.Op Fl hr |
49 |
.Op Fl hr |
|
|
50 |
.Op Fl ht |
44 |
.Op Fl i Ar type |
51 |
.Op Fl i Ar type |
45 |
.Op Fl ln |
52 |
.Op Fl ln |
46 |
.Op Fl ls |
53 |
.Op Fl ls |
Lines 50-63
Link Here
|
50 |
.Op Fl on |
57 |
.Op Fl on |
51 |
.Op Fl ot |
58 |
.Op Fl ot |
52 |
.Op Fl p Ar prefix |
59 |
.Op Fl p Ar prefix |
|
|
60 |
.Op Fl r Ar Revision |
53 |
.Op Fl s Ar type |
61 |
.Op Fl s Ar type |
54 |
.Op Fl t Ar type |
62 |
.Op Fl t Ar type |
|
|
63 |
.Op Fl va |
55 |
.Op Fl vi |
64 |
.Op Fl vi |
56 |
.Op Fl vo |
65 |
.Op Fl vo |
57 |
.Op Fl vr |
66 |
.Op Fl vr |
58 |
.Op Fl vs |
67 |
.Op Fl vs |
59 |
.Op Fl x Ar level |
68 |
.Op Fl vt |
60 |
.Op Fl w Ar level |
69 |
.Op Fl w Ar level |
|
|
70 |
.Op Fl x Ar level |
61 |
.Ar input-file |
71 |
.Ar input-file |
62 |
.Sh DESCRIPTION |
72 |
.Sh DESCRIPTION |
63 |
The |
73 |
The |
Lines 69-76
Link Here
|
69 |
include: |
79 |
include: |
70 |
.Bl -bullet -offset indent |
80 |
.Bl -bullet -offset indent |
71 |
.It |
81 |
.It |
72 |
Full support for the ACPI 3.0b Specification including ASL grammar |
82 |
Supports ACPI Specification Revision 4.0a |
73 |
elements and operators. |
|
|
74 |
.It |
83 |
.It |
75 |
Extensive compiler syntax and semantic error checking, especially in |
84 |
Extensive compiler syntax and semantic error checking, especially in |
76 |
the area of control methods. |
85 |
the area of control methods. |
Lines 85-106
Link Here
|
85 |
.Bl -tag -width indent |
94 |
.Bl -tag -width indent |
86 |
.It Fl 2 |
95 |
.It Fl 2 |
87 |
Emit ACPI 2.0 compatible ASL code. |
96 |
Emit ACPI 2.0 compatible ASL code. |
|
|
97 |
.It Fl @ Ar file |
98 |
Specify command file. |
99 |
.It Fl I Ar dir |
100 |
Specify additional include directory. |
101 |
.It Fl T Sm Cm Sig | All | * Sm |
102 |
Create table template file(s) for Sig. |
88 |
.It Fl b Sm Cm p | t | b Sm |
103 |
.It Fl b Sm Cm p | t | b Sm |
89 |
Create compiler debug/trace file |
104 |
Create compiler debug/trace file |
90 |
.Pq Pa *.txt . |
105 |
.Pq Pa *.txt . |
91 |
Types: Parse/Tree/Both. |
106 |
Types: Parse/Tree/Both. |
92 |
.It Fl c |
107 |
.It Fl cr |
93 |
Parse only, no output generation. |
108 |
Disable Resource Descriptor error checking. |
94 |
.It Fl d Ar file |
109 |
.It Fl d Ar file |
95 |
Disassemble AML to ASL source code file |
110 |
Disassemble or decode binary ACPI table to file |
96 |
.Pq Pa *.dsl . |
111 |
.Pq Pa *.dsl . |
|
|
112 |
.It Fl da Sm Cm f1 , f2 Sm |
113 |
Disassemble multiple tables from single namespace. |
97 |
.It Fl dc Ar file |
114 |
.It Fl dc Ar file |
98 |
Disassemble AML and immediately compile it. |
115 |
Disassemble AML and immediately compile it. |
99 |
(Obtain DSDT from current system if no input file.) |
116 |
(Obtain DSDT from current system if no input file.) |
100 |
.It Fl e |
117 |
.It Fl e Sm Cm f1 , f2 Sm |
101 |
Generate |
118 |
Include ACPI table(s) for external symbol resolution. |
102 |
.Fn External |
|
|
103 |
statements for unresolved symbols. |
104 |
.It Fl f |
119 |
.It Fl f |
105 |
Ignore errors, force creation of AML output file(s). |
120 |
Ignore errors, force creation of AML output file(s). |
106 |
.It Fl g |
121 |
.It Fl g |
Lines 112-117
Link Here
|
112 |
Display operators allowed in constant expressions. |
127 |
Display operators allowed in constant expressions. |
113 |
.It Fl hr |
128 |
.It Fl hr |
114 |
Display ACPI reserved method names. |
129 |
Display ACPI reserved method names. |
|
|
130 |
.It Fl ht |
131 |
Display currently supported ACPI table names. |
115 |
.It Fl i Sm Cm a | c Sm |
132 |
.It Fl i Sm Cm a | c Sm |
116 |
Create assembler or C include file |
133 |
Create assembler or C include file |
117 |
.Pa ( *.inc |
134 |
.Pa ( *.inc |
Lines 126-131
Link Here
|
126 |
.It Fl ls |
143 |
.It Fl ls |
127 |
Create combined source file (expanded includes) |
144 |
Create combined source file (expanded includes) |
128 |
.Pq Pa *.src . |
145 |
.Pq Pa *.src . |
|
|
146 |
.It Fl n |
147 |
Parse only, no output generation. |
129 |
.It Fl oa |
148 |
.It Fl oa |
130 |
Disable all optimizations (compatibility mode). |
149 |
Disable all optimizations (compatibility mode). |
131 |
.It Fl of |
150 |
.It Fl of |
Lines 137-152
Link Here
|
137 |
.It Fl ot |
156 |
.It Fl ot |
138 |
Display compile times. |
157 |
Display compile times. |
139 |
.It Fl p Ar prefix |
158 |
.It Fl p Ar prefix |
140 |
Specify filename prefix for all output files (including |
159 |
Specify path/filename prefix for all output files. |
141 |
.Pa .aml ) . |
160 |
.It Fl r Ar Revision |
|
|
161 |
Override table header Revision (1-255). |
142 |
.It Fl s Sm Cm a | c Sm |
162 |
.It Fl s Sm Cm a | c Sm |
143 |
Create AML in assembler or C source file |
163 |
Create AML in assembler or C source file |
144 |
.Pa ( *.asm |
164 |
.Pa ( *.asm |
145 |
or |
165 |
or |
146 |
.Pa *.c ) . |
166 |
.Pa *.c ) . |
147 |
.It Fl t Ar a|c |
167 |
.It Fl t Sm Cm a | c | s Sm |
148 |
Create AML in assembler or C hex table |
168 |
Create AML in assembler, C, or ASL hex table |
149 |
.Pq Pa *.hex . |
169 |
.Pq Pa *.hex . |
|
|
170 |
.It Fl va |
171 |
Disable all errors and warnings (summary only). |
150 |
.It Fl vi |
172 |
.It Fl vi |
151 |
Less verbose errors and warnings for use with IDEs. |
173 |
Less verbose errors and warnings for use with IDEs. |
152 |
.It Fl vo |
174 |
.It Fl vo |
Lines 155-164
Link Here
|
155 |
Disable remarks. |
177 |
Disable remarks. |
156 |
.It Fl vs |
178 |
.It Fl vs |
157 |
Disable signon. |
179 |
Disable signon. |
|
|
180 |
.It Fl vt |
181 |
Create verbose templates (full disassembly). |
182 |
.It Fl w Sm Cm 1 | 2 | 3 Sm |
183 |
Set warning reporting level. |
158 |
.It Fl x Ar level |
184 |
.It Fl x Ar level |
159 |
Set debug level for trace output. |
185 |
Set debug level for trace output. |
160 |
.It Fl w Ar level |
186 |
.It Fl z |
161 |
Set warning level. |
187 |
Do not insert new compiler ID for DataTables. |
162 |
.El |
188 |
.El |
163 |
.Sh SEE ALSO |
189 |
.Sh SEE ALSO |
164 |
.Xr acpi 4 , |
190 |
.Xr acpi 4 , |