Debian Codegraph @

debian/badcode.asl.result

raw
1 badcode.asl 37: Name (PATH, Buffer() {"\_SB_.PCI2._CRS"})
2 Warning 3046 - ^ Invalid or unknown escape sequence
3
4 badcode.asl 41: Name (ESC1, "abcdefg\x00hijklmn")
5 Warning 3055 - ^ Invalid Hex/Octal Escape - Non-ASCII or NULL
6
7 badcode.asl 268: QWordSpace (0xB0, ResourceConsumer, PosDecode, MinFixed, MaxFixed, 0xA5,
8 Error 6139 - Constant out of range ^ (0xB0, allowable: 0xC0-0xFF)
9
10 badcode.asl 25: Mutex (MTX1, 32)
11 Error 6125 - ^ SyncLevel must be in the range 0-15
12
13 badcode.asl 29: Name (BIG, 0x1234567887654321)
14 Warning 3038 - ^ Truncating 64-bit constant found in 32-bit table
15
16 badcode.asl 33: Name (PKG1, Package(5) {0,1})
17 Remark 2063 - ^ Initializer list shorter than declared package length
18
19 badcode.asl 37: Name (PATH, Buffer() {"\_SB_.PCI2._CRS"})
20 Warning 3046 - ^ Invalid or unknown escape sequence
21
22 badcode.asl 41: Name (ESC1, "abcdefg\x00hijklmn")
23 Warning 3055 - ^ Invalid Hex/Octal Escape - Non-ASCII or NULL
24
25 badcode.asl 49: FLD1, 8
26 Error 6030 - ^ Access width of Field Unit extends beyond region limit
27
28 badcode.asl 55: Field (OPR2, DWordAcc, NoLock, Preserve)
29 Error 6100 - ^ Host Operation Region requires ByteAcc access
30
31 badcode.asl 60: Field (OPR3, WordAcc, NoLock, Preserve)
32 Error 6099 - ^ Host Operation Region requires BufferAcc access
33
34 badcode.asl 67: Method (MTH1, 0, NotSerialized, 32)
35 Error 6125 - SyncLevel must be in the range 0-15 ^
36
37 badcode.asl 71: Store (Arg3, Local0)
38 Warning 3144 - ^ Method Local is set but never used (Local0)
39
40 badcode.asl 71: Store (Arg3, Local0)
41 Error 6006 - ^ Method argument is not initialized (Arg3)
42
43 badcode.asl 71: Store (Arg3, Local0)
44 Remark 2087 - ^ Not a parameter, used as local only (Arg3)
45
46 badcode.asl 72: Store (Local1, Local2)
47 Warning 3144 - ^ Method Local is set but never used (Local2)
48
49 badcode.asl 72: Store (Local1, Local2)
50 Error 6066 - ^ Method local variable is not initialized (Local1)
51
52 badcode.asl 76: Subtract (MTX1, 4, Local3)
53 Warning 3144 - Method Local is set but never used ^ (Local3)
54
55 badcode.asl 76: Subtract (MTX1, 4, Local3)
56 Error 6058 - Invalid type ^ ([Mutex] found, Subtract operator requires [Integer|String|Buffer])
57
58 badcode.asl 80: CreateField (BUF1, 0, Subtract (4, 4), FLD1)
59 Remark 2089 - Object is not referenced ^ (Name [FLD1] is within a method [MTH1])
60
61 badcode.asl 80: CreateField (BUF1, 0, Subtract (4, 4), FLD1)
62 Warning 3083 - Field length must be non-zero ^
63
64 badcode.asl 84: Acquire (MTX1, 100)
65 Warning 3130 - ^ Result is not used, possible operator timeout will be missed
66
67 badcode.asl 85: Wait (EVT1, 1)
68 Warning 3130 - ^ Result is not used, possible operator timeout will be missed
69
70 badcode.asl 89: Add (INT1, 8)
71 Error 6114 - ^ Result is not used, operator has no effect
72
73 badcode.asl 94: Store (5, INT1)
74 Warning 3134 - ^ Statement is unreachable
75
76 badcode.asl 97: Method (MTH2)
77 Remark 2119 - ^ Control Method marked Serialized (Due to use of Switch operator)
78
79 badcode.asl 97: Method (MTH2)
80 Warning 3115 - ^ Not all control paths return a value (\MTH2)
81
82 badcode.asl 101: Switch (ToInteger (INT1))
83 Error 6078 - ^ No Case statements under Switch
84
85 badcode.asl 120: Store (MTH2 (), Local0)
86 Warning 3144 - ^ Method Local is set but never used (Local0)
87
88 badcode.asl 120: Store (MTH2 (), Local0)
89 Warning 3122 - ^ Called method may not always return a value (\MTH2)
90
91 badcode.asl 126: Method (MTH5) {Store (MTH4(), Local0)}
92 Warning 3144 - Method Local is set but never used ^ (Local0)
93
94 badcode.asl 126: Method (MTH5) {Store (MTH4(), Local0)}
95 Error 6080 - Called method returns no value ^ (\MTH4)
96
97 badcode.asl 132: Name (_HID, "*PNP0C0A") // Illegal leading asterisk
98 Error 6061 - Invalid leading asterisk ^ (*PNP0C0A)
99
100 badcode.asl 136: Name (_HID, "PNP") // Too short, must be 7 or 8 chars
101 Error 6033 - ^ _HID string must be exactly 7 or 8 characters (PNP)
102
103 badcode.asl 140: Name (_HID, "MYDEVICE01") // Too long, must be 7 or 8 chars
104 Error 6033 - ^ _HID string must be exactly 7 or 8 characters (MYDEVICE01)
105
106 badcode.asl 144: Name (_HID, "acpi0001") // non-hex chars must be uppercase
107 Error 6034 - ^ _HID prefix must be all uppercase or decimal digits (acpi0001)
108
109 badcode.asl 148: Name (_HID, "PNP-123") // HID must be alphanumeric
110 Error 6002 - ^ String must be entirely alphanumeric (PNP-123)
111
112 badcode.asl 152: Name (_HID, "") // Illegal Null HID
113 Error 6091 - ^ Invalid zero-length (null) string
114
115 badcode.asl 153: Name (_CID, "") // Illegal Null CID
116 Error 6091 - ^ Invalid zero-length (null) string
117
118 badcode.asl 158: Name (_PRW, 4)
119 Error 6105 - ^ Invalid object type for reserved name (_PRW: found Integer, Package required)
120
121 badcode.asl 159: Name (_FDI, Buffer () {0})
122 Error 6105 - ^ Invalid object type for reserved name (_FDI: found Buffer, Package required)
123
124 badcode.asl 164: Method (_OSC, 5)
125 Warning 3101 - ^ Reserved method has too many arguments (_OSC requires 4)
126
127 badcode.asl 164: Method (_OSC, 5)
128 Warning 3107 - ^ Reserved method must return a value (Buffer required for _OSC)
129
130 badcode.asl 170: Name (_L01, 1)
131 Error 6103 - ^ Reserved name must be a control method (with zero arguments)
132
133 badcode.asl 171: Name (_E02, 2)
134 Error 6103 - ^ Reserved name must be a control method (with zero arguments)
135
136 badcode.asl 172: Name (_Q03, 3)
137 Error 6103 - ^ Reserved name must be a control method (with zero arguments)
138
139 badcode.asl 173: Name (_ON, 0)
140 Error 6103 - ^ Reserved name must be a control method (with zero arguments)
141
142 badcode.asl 174: Name (_INI, 1)
143 Error 6103 - ^ Reserved name must be a control method (with zero arguments)
144
145 badcode.asl 175: Name (_PTP, 2)
146 Error 6103 - ^ Reserved name must be a control method (with arguments)
147
148 badcode.asl 184: Method (_E1D)
149 Error 6032 - ^ Name conflicts with a previous GPE method (_L1D)
150
151 badcode.asl 193: Return (Buffer(1){0x33})
152 Warning 3104 - ^ Reserved method should not return a value (_FDM)
153
154 badcode.asl 197: Return ("Unexpected Return Value")
155 Warning 3104 - Reserved method should not return a value ^ (_Q22)
156
157 badcode.asl 203: Device (EC)
158 Error 6141 - ^ Missing dependency (Device object requires a _HID or _ADR)
159
160 badcode.asl 205: Method (_REG, 2)
161 Warning 3079 - ^ _REG has no corresponding Operation Region
162
163 badcode.asl 219: StartDependentFn (0, 0)
164 Error 6019 - ^ Dependent function macros cannot be nested
165
166 badcode.asl 225: })
167 Error 6070 - ^ Missing EndDependentFn() macro in dependent resource list
168
169 badcode.asl 242: 0x00002000, // Length
170 Error 6049 - ^ Length is larger than Min/Max window
171
172 badcode.asl 247: 0x00001001, // Range Minimum
173 Error 6001 - ^ Must be a multiple of alignment/granularity value
174
175 badcode.asl 248: 0x00002002, // Range Maximum
176 Error 6001 - ^ Must be a multiple of alignment/granularity value
177
178 badcode.asl 255: 0xFFFF, // Address
179 Warning 3060 - ^ Maximum 10-bit ISA address (0x3FF)
180
181 badcode.asl 264: 0x05 // Access Size
182 Error 6042 - ^ Invalid AccessSize (Maximum is 4 - QWord access)
183
184 badcode.asl 268: QWordSpace (0xB0, ResourceConsumer, PosDecode, MinFixed, MaxFixed, 0xA5,
185 Error 6139 - Constant out of range ^ (0xB0, allowable: 0xC0-0xFF)
186
187 badcode.asl 279: 0x0200, // Range Minimum
188 Error 6051 - ^ Address Min is greater than Address Max
189
190 badcode.asl 291: 0x00001002, // Length
191 Error 6049 - ^ Length is larger than Min/Max window
192
193 badcode.asl 296: 0x00000010,
194 Error 6048 - ^ Granularity must be zero or a power of two minus one
195
196 badcode.asl 305: 0x0000000000000B02, // Range Minimum
197 Error 6001 - ^ Must be a multiple of alignment/granularity value
198
199 badcode.asl 315: 0x00000000002FFFFE, // Range Maximum
200 Error 6001 - ^ Must be a multiple of alignment/granularity value (-1)
201
202 badcode.asl 326: 0x00000000, // Length
203 Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags
204
205 badcode.asl 335: 0x00000100, // Length
206 Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags
207
208 badcode.asl 344: 0x00000200, // Length
209 Error 6043 - ^ Invalid combination of Length and Min/Max fixed flags
210
211 badcode.asl 349: 0x0000000F, // Granularity
212 Error 6047 - ^ Granularity must be zero for fixed Min/Max
213
214 badcode.asl 358: DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
215 Error 6090 - ^ Min/Max/Length/Gran are all zero, but no resource tag
216
217 badcode.asl 368: EndDependentFn ()
218 Error 6071 - ^ Missing StartDependentFn() macro in dependent resource list
219
220 badcode.asl 388: CreateWordField (RSC3, \DWI1._LEN, LEN)
221 Warning 3128 - ResourceTag larger than Field ^ (Size mismatch, Tag: 32 bits, Field: 16 bits)
222
223 badcode.asl 388: CreateWordField (RSC3, \DWI1._LEN, LEN)
224 Remark 2089 - Object is not referenced ^ (Name [LEN_] is within a method [REM1])
225
226 badcode.asl 389: CreateByteField (RSC3, \DWI1._MIN, MIN)
227 Warning 3128 - ResourceTag larger than Field ^ (Size mismatch, Tag: 32 bits, Field: 8 bits)
228
229 badcode.asl 389: CreateByteField (RSC3, \DWI1._MIN, MIN)
230 Remark 2089 - Object is not referenced ^ (Name [MIN_] is within a method [REM1])
231
232 badcode.asl 390: CreateBitField (RSC3, \DWI1._RNG, RNG1)
233 Warning 3128 - ResourceTag larger than Field ^ (Size mismatch, Tag: 2 bits, Field: 1 bit)
234
235 badcode.asl 390: CreateBitField (RSC3, \DWI1._RNG, RNG1)
236 Remark 2089 - Object is not referenced ^ (Name [RNG1] is within a method [REM1])
237
238 badcode.asl 394: CreateQWordField (RSC3, \DWI1._MAX, MAX)
239 Warning 3129 - ResourceTag smaller than Field ^ (Size mismatch, Tag: 32 bits, Field: 64 bits)
240
241 badcode.asl 394: CreateQWordField (RSC3, \DWI1._MAX, MAX)
242 Remark 2089 - Object is not referenced ^ (Name [MAX_] is within a method [REM1])
243
244 badcode.asl 395: CreateBitField (RSC3, \DWI1._GRA, GRA)
245 Warning 3128 - ResourceTag larger than Field ^ (Size mismatch, Tag: 32 bits, Field: 1 bit)
246
247 badcode.asl 395: CreateBitField (RSC3, \DWI1._GRA, GRA)
248 Remark 2089 - Object is not referenced ^ (Name [GRA_] is within a method [REM1])
249
250 badcode.asl 396: CreateField (RSC3, \DWI1._MIF, 5, MIF)
251 Warning 3129 - ResourceTag smaller than Field ^ (Size mismatch, Tag: 1 bit, Field: 5 bits)
252
253 badcode.asl 396: CreateField (RSC3, \DWI1._MIF, 5, MIF)
254 Remark 2089 - Object is not referenced ^ (Name [MIF_] is within a method [REM1])
255
256 badcode.asl 397: CreateField (RSC3, \DWI1._RNG, 3, RNG2)
257 Warning 3129 - ResourceTag smaller than Field ^ (Size mismatch, Tag: 2 bits, Field: 3 bits)
258
259 badcode.asl 397: CreateField (RSC3, \DWI1._RNG, 3, RNG2)
260 Remark 2089 - Object is not referenced ^ (Name [RNG2] is within a method [REM1])
261
262 badcode.asl 404: Store (40, Local0)
263 Warning 3144 - ^ Method Local is set but never used (Local0)
264
265
266 Intel ACPI Component Architecture
267 ASL+ Optimizing Compiler/Disassembler version VVVVVVVV
268 Copyright (c) 2000 - 2026 Intel Corporation
269
270 Ignoring all errors, forcing AML file generation
271
272 ASL Input: badcode.asl - 11588 bytes 81 keywords 0 source lines
273 AML Output: badcode.aml - 1195 bytes 20 opcodes 61 named objects
274
275 Compilation successful. 46 Errors, 28 Warnings, 11 Remarks, 16 Optimizations, 1 Constants Folded