aslmessages.h revision 1.1.1.3 1 1.1 jruoho /******************************************************************************
2 1.1 jruoho *
3 1.1 jruoho * Module Name: aslmessages.h - Compiler error/warning messages
4 1.1 jruoho *
5 1.1 jruoho *****************************************************************************/
6 1.1 jruoho
7 1.1 jruoho /*
8 1.1.1.3 christos * Copyright (C) 2000 - 2013, Intel Corp.
9 1.1 jruoho * All rights reserved.
10 1.1 jruoho *
11 1.1 jruoho * Redistribution and use in source and binary forms, with or without
12 1.1 jruoho * modification, are permitted provided that the following conditions
13 1.1 jruoho * are met:
14 1.1 jruoho * 1. Redistributions of source code must retain the above copyright
15 1.1 jruoho * notice, this list of conditions, and the following disclaimer,
16 1.1 jruoho * without modification.
17 1.1 jruoho * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 1.1 jruoho * substantially similar to the "NO WARRANTY" disclaimer below
19 1.1 jruoho * ("Disclaimer") and any redistribution must be conditioned upon
20 1.1 jruoho * including a substantially similar Disclaimer requirement for further
21 1.1 jruoho * binary redistribution.
22 1.1 jruoho * 3. Neither the names of the above-listed copyright holders nor the names
23 1.1 jruoho * of any contributors may be used to endorse or promote products derived
24 1.1 jruoho * from this software without specific prior written permission.
25 1.1 jruoho *
26 1.1 jruoho * Alternatively, this software may be distributed under the terms of the
27 1.1 jruoho * GNU General Public License ("GPL") version 2 as published by the Free
28 1.1 jruoho * Software Foundation.
29 1.1 jruoho *
30 1.1 jruoho * NO WARRANTY
31 1.1 jruoho * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 1.1 jruoho * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 1.1 jruoho * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 1.1 jruoho * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 1.1 jruoho * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 1.1 jruoho * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 1.1 jruoho * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 1.1 jruoho * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 1.1 jruoho * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 1.1 jruoho * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 1.1 jruoho * POSSIBILITY OF SUCH DAMAGES.
42 1.1 jruoho */
43 1.1 jruoho
44 1.1 jruoho
45 1.1 jruoho #ifndef __ASLMESSAGES_H
46 1.1 jruoho #define __ASLMESSAGES_H
47 1.1 jruoho
48 1.1 jruoho
49 1.1.1.3 christos typedef enum
50 1.1.1.3 christos {
51 1.1.1.3 christos ASL_OPTIMIZATION = 0,
52 1.1.1.3 christos ASL_REMARK,
53 1.1.1.3 christos ASL_WARNING,
54 1.1.1.3 christos ASL_WARNING2,
55 1.1.1.3 christos ASL_WARNING3,
56 1.1.1.3 christos ASL_ERROR,
57 1.1.1.3 christos ASL_NUM_REPORT_LEVELS
58 1.1.1.3 christos
59 1.1.1.3 christos } ASL_MESSAGE_TYPES;
60 1.1.1.3 christos
61 1.1.1.3 christos #ifdef ASL_EXCEPTIONS
62 1.1.1.3 christos
63 1.1.1.3 christos /* Strings for message reporting levels, must match values above */
64 1.1.1.3 christos
65 1.1.1.3 christos const char *AslErrorLevel [ASL_NUM_REPORT_LEVELS] = {
66 1.1.1.3 christos "Optimize",
67 1.1.1.3 christos "Remark ",
68 1.1.1.3 christos "Warning ",
69 1.1.1.3 christos "Warning ",
70 1.1.1.3 christos "Warning ",
71 1.1.1.3 christos "Error "
72 1.1.1.3 christos };
73 1.1.1.3 christos
74 1.1.1.3 christos /* All lowercase versions for IDEs */
75 1.1 jruoho
76 1.1.1.3 christos const char *AslErrorLevelIde [ASL_NUM_REPORT_LEVELS] = {
77 1.1.1.3 christos "optimize",
78 1.1.1.3 christos "remark ",
79 1.1.1.3 christos "warning ",
80 1.1.1.3 christos "warning ",
81 1.1.1.3 christos "warning ",
82 1.1.1.3 christos "error "
83 1.1.1.3 christos };
84 1.1 jruoho
85 1.1.1.3 christos #define ASL_ERROR_LEVEL_LENGTH 8 /* Length of strings above */
86 1.1.1.3 christos #endif
87 1.1 jruoho
88 1.1.1.3 christos /*
89 1.1.1.3 christos * Values for all compiler messages.
90 1.1.1.3 christos *
91 1.1.1.3 christos * NOTE: With the introduction of the -vw option to disable specific messages,
92 1.1.1.3 christos * new messages should only be added to the end of this list, so that values
93 1.1.1.3 christos * for existing messages are not disturbed.
94 1.1.1.3 christos */
95 1.1 jruoho typedef enum
96 1.1 jruoho {
97 1.1 jruoho ASL_MSG_RESERVED = 0,
98 1.1.1.3 christos
99 1.1.1.3 christos ASL_MSG_ALIGNMENT,
100 1.1 jruoho ASL_MSG_ALPHANUMERIC_STRING,
101 1.1 jruoho ASL_MSG_AML_NOT_IMPLEMENTED,
102 1.1 jruoho ASL_MSG_ARG_COUNT_HI,
103 1.1 jruoho ASL_MSG_ARG_COUNT_LO,
104 1.1 jruoho ASL_MSG_ARG_INIT,
105 1.1 jruoho ASL_MSG_BACKWARDS_OFFSET,
106 1.1 jruoho ASL_MSG_BUFFER_LENGTH,
107 1.1 jruoho ASL_MSG_CLOSE,
108 1.1 jruoho ASL_MSG_COMPILER_INTERNAL,
109 1.1.1.3 christos ASL_MSG_COMPILER_RESERVED,
110 1.1.1.3 christos ASL_MSG_CONNECTION_MISSING,
111 1.1.1.3 christos ASL_MSG_CONNECTION_INVALID,
112 1.1 jruoho ASL_MSG_CONSTANT_EVALUATION,
113 1.1 jruoho ASL_MSG_CONSTANT_FOLDED,
114 1.1 jruoho ASL_MSG_CORE_EXCEPTION,
115 1.1 jruoho ASL_MSG_DEBUG_FILE_OPEN,
116 1.1 jruoho ASL_MSG_DEBUG_FILENAME,
117 1.1 jruoho ASL_MSG_DEPENDENT_NESTING,
118 1.1 jruoho ASL_MSG_DMA_CHANNEL,
119 1.1 jruoho ASL_MSG_DMA_LIST,
120 1.1 jruoho ASL_MSG_DUPLICATE_CASE,
121 1.1 jruoho ASL_MSG_DUPLICATE_ITEM,
122 1.1 jruoho ASL_MSG_EARLY_EOF,
123 1.1 jruoho ASL_MSG_ENCODING_LENGTH,
124 1.1 jruoho ASL_MSG_EX_INTERRUPT_LIST,
125 1.1 jruoho ASL_MSG_EX_INTERRUPT_LIST_MIN,
126 1.1 jruoho ASL_MSG_EX_INTERRUPT_NUMBER,
127 1.1 jruoho ASL_MSG_FIELD_ACCESS_WIDTH,
128 1.1 jruoho ASL_MSG_FIELD_UNIT_ACCESS_WIDTH,
129 1.1 jruoho ASL_MSG_FIELD_UNIT_OFFSET,
130 1.1.1.3 christos ASL_MSG_GPE_NAME_CONFLICT,
131 1.1.1.3 christos ASL_MSG_HID_LENGTH,
132 1.1.1.3 christos ASL_MSG_HID_PREFIX,
133 1.1.1.3 christos ASL_MSG_HID_SUFFIX,
134 1.1 jruoho ASL_MSG_INCLUDE_FILE_OPEN,
135 1.1 jruoho ASL_MSG_INPUT_FILE_OPEN,
136 1.1 jruoho ASL_MSG_INTEGER_LENGTH,
137 1.1 jruoho ASL_MSG_INTEGER_OPTIMIZATION,
138 1.1 jruoho ASL_MSG_INTERRUPT_LIST,
139 1.1 jruoho ASL_MSG_INTERRUPT_NUMBER,
140 1.1.1.3 christos ASL_MSG_INVALID_ACCESS_SIZE,
141 1.1.1.3 christos ASL_MSG_INVALID_ADDR_FLAGS,
142 1.1 jruoho ASL_MSG_INVALID_CONSTANT_OP,
143 1.1 jruoho ASL_MSG_INVALID_EISAID,
144 1.1 jruoho ASL_MSG_INVALID_ESCAPE,
145 1.1.1.3 christos ASL_MSG_INVALID_GRAN_FIXED,
146 1.1.1.3 christos ASL_MSG_INVALID_GRANULARITY,
147 1.1.1.3 christos ASL_MSG_INVALID_LENGTH,
148 1.1.1.3 christos ASL_MSG_INVALID_LENGTH_FIXED,
149 1.1.1.3 christos ASL_MSG_INVALID_MIN_MAX,
150 1.1 jruoho ASL_MSG_INVALID_OPERAND,
151 1.1 jruoho ASL_MSG_INVALID_PERFORMANCE,
152 1.1 jruoho ASL_MSG_INVALID_PRIORITY,
153 1.1 jruoho ASL_MSG_INVALID_STRING,
154 1.1 jruoho ASL_MSG_INVALID_TARGET,
155 1.1 jruoho ASL_MSG_INVALID_TIME,
156 1.1 jruoho ASL_MSG_INVALID_TYPE,
157 1.1 jruoho ASL_MSG_INVALID_UUID,
158 1.1.1.3 christos ASL_MSG_ISA_ADDRESS,
159 1.1.1.3 christos ASL_MSG_LEADING_ASTERISK,
160 1.1 jruoho ASL_MSG_LIST_LENGTH_LONG,
161 1.1 jruoho ASL_MSG_LIST_LENGTH_SHORT,
162 1.1 jruoho ASL_MSG_LISTING_FILE_OPEN,
163 1.1 jruoho ASL_MSG_LISTING_FILENAME,
164 1.1 jruoho ASL_MSG_LOCAL_INIT,
165 1.1.1.3 christos ASL_MSG_LOCAL_OUTSIDE_METHOD,
166 1.1 jruoho ASL_MSG_LONG_LINE,
167 1.1 jruoho ASL_MSG_MEMORY_ALLOCATION,
168 1.1 jruoho ASL_MSG_MISSING_ENDDEPENDENT,
169 1.1 jruoho ASL_MSG_MISSING_STARTDEPENDENT,
170 1.1.1.3 christos ASL_MSG_MULTIPLE_DEFAULT,
171 1.1 jruoho ASL_MSG_MULTIPLE_TYPES,
172 1.1 jruoho ASL_MSG_NAME_EXISTS,
173 1.1 jruoho ASL_MSG_NAME_OPTIMIZATION,
174 1.1.1.3 christos ASL_MSG_NAMED_OBJECT_IN_WHILE,
175 1.1 jruoho ASL_MSG_NESTED_COMMENT,
176 1.1 jruoho ASL_MSG_NO_CASES,
177 1.1.1.3 christos ASL_MSG_NO_REGION,
178 1.1 jruoho ASL_MSG_NO_RETVAL,
179 1.1 jruoho ASL_MSG_NO_WHILE,
180 1.1 jruoho ASL_MSG_NON_ASCII,
181 1.1.1.3 christos ASL_MSG_NON_ZERO,
182 1.1 jruoho ASL_MSG_NOT_EXIST,
183 1.1 jruoho ASL_MSG_NOT_FOUND,
184 1.1 jruoho ASL_MSG_NOT_METHOD,
185 1.1 jruoho ASL_MSG_NOT_PARAMETER,
186 1.1 jruoho ASL_MSG_NOT_REACHABLE,
187 1.1.1.3 christos ASL_MSG_NOT_REFERENCED,
188 1.1.1.3 christos ASL_MSG_NULL_DESCRIPTOR,
189 1.1.1.3 christos ASL_MSG_NULL_STRING,
190 1.1 jruoho ASL_MSG_OPEN,
191 1.1 jruoho ASL_MSG_OUTPUT_FILE_OPEN,
192 1.1 jruoho ASL_MSG_OUTPUT_FILENAME,
193 1.1 jruoho ASL_MSG_PACKAGE_LENGTH,
194 1.1.1.3 christos ASL_MSG_PREPROCESSOR_FILENAME,
195 1.1 jruoho ASL_MSG_READ,
196 1.1 jruoho ASL_MSG_RECURSION,
197 1.1 jruoho ASL_MSG_REGION_BUFFER_ACCESS,
198 1.1 jruoho ASL_MSG_REGION_BYTE_ACCESS,
199 1.1 jruoho ASL_MSG_RESERVED_ARG_COUNT_HI,
200 1.1 jruoho ASL_MSG_RESERVED_ARG_COUNT_LO,
201 1.1 jruoho ASL_MSG_RESERVED_METHOD,
202 1.1.1.3 christos ASL_MSG_RESERVED_NO_RETURN_VAL,
203 1.1 jruoho ASL_MSG_RESERVED_OPERAND_TYPE,
204 1.1.1.3 christos ASL_MSG_RESERVED_PACKAGE_LENGTH,
205 1.1 jruoho ASL_MSG_RESERVED_RETURN_VALUE,
206 1.1 jruoho ASL_MSG_RESERVED_USE,
207 1.1 jruoho ASL_MSG_RESERVED_WORD,
208 1.1 jruoho ASL_MSG_RESOURCE_FIELD,
209 1.1 jruoho ASL_MSG_RESOURCE_INDEX,
210 1.1 jruoho ASL_MSG_RESOURCE_LIST,
211 1.1 jruoho ASL_MSG_RESOURCE_SOURCE,
212 1.1.1.3 christos ASL_MSG_RESULT_NOT_USED,
213 1.1 jruoho ASL_MSG_RETURN_TYPES,
214 1.1 jruoho ASL_MSG_SCOPE_FWD_REF,
215 1.1 jruoho ASL_MSG_SCOPE_TYPE,
216 1.1 jruoho ASL_MSG_SEEK,
217 1.1.1.3 christos ASL_MSG_SERIALIZED,
218 1.1.1.3 christos ASL_MSG_SERIALIZED_REQUIRED,
219 1.1 jruoho ASL_MSG_SINGLE_NAME_OPTIMIZATION,
220 1.1 jruoho ASL_MSG_SOME_NO_RETVAL,
221 1.1.1.3 christos ASL_MSG_STRING_LENGTH,
222 1.1 jruoho ASL_MSG_SWITCH_TYPE,
223 1.1 jruoho ASL_MSG_SYNC_LEVEL,
224 1.1 jruoho ASL_MSG_SYNTAX,
225 1.1 jruoho ASL_MSG_TABLE_SIGNATURE,
226 1.1.1.3 christos ASL_MSG_TAG_LARGER,
227 1.1.1.3 christos ASL_MSG_TAG_SMALLER,
228 1.1.1.3 christos ASL_MSG_TIMEOUT,
229 1.1 jruoho ASL_MSG_TOO_MANY_TEMPS,
230 1.1.1.3 christos ASL_MSG_TRUNCATION,
231 1.1 jruoho ASL_MSG_UNKNOWN_RESERVED_NAME,
232 1.1 jruoho ASL_MSG_UNREACHABLE_CODE,
233 1.1 jruoho ASL_MSG_UNSUPPORTED,
234 1.1.1.3 christos ASL_MSG_UPPER_CASE,
235 1.1 jruoho ASL_MSG_VENDOR_LIST,
236 1.1 jruoho ASL_MSG_WRITE,
237 1.1.1.3 christos ASL_MSG_RANGE,
238 1.1.1.3 christos ASL_MSG_BUFFER_ALLOCATION,
239 1.1.1.3 christos
240 1.1.1.3 christos /* These messages are used by the Preprocessor only */
241 1.1.1.3 christos
242 1.1.1.3 christos ASL_MSG_DIRECTIVE_SYNTAX,
243 1.1.1.3 christos ASL_MSG_ENDIF_MISMATCH,
244 1.1.1.3 christos ASL_MSG_ERROR_DIRECTIVE,
245 1.1.1.3 christos ASL_MSG_EXISTING_NAME,
246 1.1.1.3 christos ASL_MSG_INVALID_INVOCATION,
247 1.1.1.3 christos ASL_MSG_MACRO_SYNTAX,
248 1.1.1.3 christos ASL_MSG_TOO_MANY_ARGUMENTS,
249 1.1.1.3 christos ASL_MSG_UNKNOWN_DIRECTIVE,
250 1.1.1.3 christos ASL_MSG_UNKNOWN_PRAGMA,
251 1.1.1.3 christos ASL_MSG_WARNING_DIRECTIVE,
252 1.1.1.3 christos
253 1.1.1.3 christos /* These messages are used by the data table compiler only */
254 1.1 jruoho
255 1.1 jruoho ASL_MSG_BUFFER_ELEMENT,
256 1.1.1.3 christos ASL_MSG_DIVIDE_BY_ZERO,
257 1.1 jruoho ASL_MSG_FLAG_VALUE,
258 1.1.1.3 christos ASL_MSG_INTEGER_SIZE,
259 1.1.1.3 christos ASL_MSG_INVALID_EXPRESSION,
260 1.1.1.3 christos ASL_MSG_INVALID_FIELD_NAME,
261 1.1.1.3 christos ASL_MSG_INVALID_HEX_INTEGER,
262 1.1 jruoho ASL_MSG_OEM_TABLE,
263 1.1.1.3 christos ASL_MSG_RESERVED_VALUE,
264 1.1 jruoho ASL_MSG_UNKNOWN_LABEL,
265 1.1.1.3 christos ASL_MSG_UNKNOWN_SUBTABLE,
266 1.1.1.3 christos ASL_MSG_UNKNOWN_TABLE,
267 1.1.1.3 christos ASL_MSG_ZERO_VALUE
268 1.1 jruoho
269 1.1 jruoho } ASL_MESSAGE_IDS;
270 1.1 jruoho
271 1.1 jruoho
272 1.1 jruoho #ifdef ASL_EXCEPTIONS
273 1.1 jruoho
274 1.1.1.3 christos /*
275 1.1.1.3 christos * Actual message strings for each compiler message.
276 1.1.1.3 christos *
277 1.1.1.3 christos * NOTE: With the introduction of the -vw option to disable specific messages,
278 1.1.1.3 christos * new messages should only be added to the end of this list, so that values
279 1.1.1.3 christos * for existing messages are not disturbed.
280 1.1.1.3 christos */
281 1.1.1.3 christos char *AslMessages [] =
282 1.1.1.3 christos {
283 1.1 jruoho /* The zeroth message is reserved */ "",
284 1.1.1.3 christos /* ASL_MSG_ALIGNMENT */ "Must be a multiple of alignment/granularity value",
285 1.1 jruoho /* ASL_MSG_ALPHANUMERIC_STRING */ "String must be entirely alphanumeric",
286 1.1 jruoho /* ASL_MSG_AML_NOT_IMPLEMENTED */ "Opcode is not implemented in compiler AML code generator",
287 1.1 jruoho /* ASL_MSG_ARG_COUNT_HI */ "Too many arguments",
288 1.1 jruoho /* ASL_MSG_ARG_COUNT_LO */ "Too few arguments",
289 1.1 jruoho /* ASL_MSG_ARG_INIT */ "Method argument is not initialized",
290 1.1 jruoho /* ASL_MSG_BACKWARDS_OFFSET */ "Invalid backwards offset",
291 1.1 jruoho /* ASL_MSG_BUFFER_LENGTH */ "Effective AML buffer length is zero",
292 1.1 jruoho /* ASL_MSG_CLOSE */ "Could not close file",
293 1.1 jruoho /* ASL_MSG_COMPILER_INTERNAL */ "Internal compiler error",
294 1.1.1.3 christos /* ASL_MSG_COMPILER_RESERVED */ "Use of compiler reserved name",
295 1.1.1.3 christos /* ASL_MSG_CONNECTION_MISSING */ "A Connection operator is required for this field SpaceId",
296 1.1.1.3 christos /* ASL_MSG_CONNECTION_INVALID */ "Invalid OpRegion SpaceId for use of Connection operator",
297 1.1 jruoho /* ASL_MSG_CONSTANT_EVALUATION */ "Could not evaluate constant expression",
298 1.1 jruoho /* ASL_MSG_CONSTANT_FOLDED */ "Constant expression evaluated and reduced",
299 1.1 jruoho /* ASL_MSG_CORE_EXCEPTION */ "From ACPI CA Subsystem",
300 1.1 jruoho /* ASL_MSG_DEBUG_FILE_OPEN */ "Could not open debug file",
301 1.1 jruoho /* ASL_MSG_DEBUG_FILENAME */ "Could not create debug filename",
302 1.1 jruoho /* ASL_MSG_DEPENDENT_NESTING */ "Dependent function macros cannot be nested",\
303 1.1 jruoho /* ASL_MSG_DMA_CHANNEL */ "Invalid DMA channel (must be 0-7)",
304 1.1 jruoho /* ASL_MSG_DMA_LIST */ "Too many DMA channels (8 max)",
305 1.1 jruoho /* ASL_MSG_DUPLICATE_CASE */ "Case value already specified",
306 1.1 jruoho /* ASL_MSG_DUPLICATE_ITEM */ "Duplicate value in list",
307 1.1 jruoho /* ASL_MSG_EARLY_EOF */ "Premature end-of-file reached",
308 1.1 jruoho /* ASL_MSG_ENCODING_LENGTH */ "Package length too long to encode",
309 1.1 jruoho /* ASL_MSG_EX_INTERRUPT_LIST */ "Too many interrupts (255 max)",
310 1.1 jruoho /* ASL_MSG_EX_INTERRUPT_LIST_MIN */ "Too few interrupts (1 minimum required)",
311 1.1 jruoho /* ASL_MSG_EX_INTERRUPT_NUMBER */ "Invalid interrupt number (must be 32 bits)",
312 1.1 jruoho /* ASL_MSG_FIELD_ACCESS_WIDTH */ "Access width is greater than region size",
313 1.1 jruoho /* ASL_MSG_FIELD_UNIT_ACCESS_WIDTH */ "Access width of Field Unit extends beyond region limit",
314 1.1 jruoho /* ASL_MSG_FIELD_UNIT_OFFSET */ "Field Unit extends beyond region limit",
315 1.1.1.3 christos /* ASL_MSG_GPE_NAME_CONFLICT */ "Name conflicts with a previous GPE method",
316 1.1.1.3 christos /* ASL_MSG_HID_LENGTH */ "_HID string must be exactly 7 or 8 characters",
317 1.1.1.3 christos /* ASL_MSG_HID_PREFIX */ "_HID prefix must be all uppercase or decimal digits",
318 1.1.1.3 christos /* ASL_MSG_HID_SUFFIX */ "_HID suffix must be all hex digits",
319 1.1 jruoho /* ASL_MSG_INCLUDE_FILE_OPEN */ "Could not open include file",
320 1.1 jruoho /* ASL_MSG_INPUT_FILE_OPEN */ "Could not open input file",
321 1.1.1.3 christos /* ASL_MSG_INTEGER_LENGTH */ "64-bit integer in 32-bit table, truncating (DSDT version < 2)",
322 1.1 jruoho /* ASL_MSG_INTEGER_OPTIMIZATION */ "Integer optimized to single-byte AML opcode",
323 1.1 jruoho /* ASL_MSG_INTERRUPT_LIST */ "Too many interrupts (16 max)",
324 1.1 jruoho /* ASL_MSG_INTERRUPT_NUMBER */ "Invalid interrupt number (must be 0-15)",
325 1.1.1.3 christos /* ASL_MSG_INVALID_ACCESS_SIZE */ "Invalid AccessSize (Maximum is 4 - QWord access)",
326 1.1.1.3 christos /* ASL_MSG_INVALID_ADDR_FLAGS */ "Invalid combination of Length and Min/Max fixed flags",
327 1.1 jruoho /* ASL_MSG_INVALID_CONSTANT_OP */ "Invalid operator in constant expression (not type 3/4/5)",
328 1.1 jruoho /* ASL_MSG_INVALID_EISAID */ "EISAID string must be of the form \"UUUXXXX\" (3 uppercase, 4 hex digits)",
329 1.1 jruoho /* ASL_MSG_INVALID_ESCAPE */ "Invalid or unknown escape sequence",
330 1.1.1.3 christos /* ASL_MSG_INVALID_GRAN_FIXED */ "Granularity must be zero for fixed Min/Max",
331 1.1.1.3 christos /* ASL_MSG_INVALID_GRANULARITY */ "Granularity must be zero or a power of two minus one",
332 1.1.1.3 christos /* ASL_MSG_INVALID_LENGTH */ "Length is larger than Min/Max window",
333 1.1.1.3 christos /* ASL_MSG_INVALID_LENGTH_FIXED */ "Length is not equal to fixed Min/Max window",
334 1.1.1.3 christos /* ASL_MSG_INVALID_MIN_MAX */ "Address Min is greater than Address Max",
335 1.1 jruoho /* ASL_MSG_INVALID_OPERAND */ "Invalid operand",
336 1.1 jruoho /* ASL_MSG_INVALID_PERFORMANCE */ "Invalid performance/robustness value",
337 1.1 jruoho /* ASL_MSG_INVALID_PRIORITY */ "Invalid priority value",
338 1.1 jruoho /* ASL_MSG_INVALID_STRING */ "Invalid Hex/Octal Escape - Non-ASCII or NULL",
339 1.1 jruoho /* ASL_MSG_INVALID_TARGET */ "Target operand not allowed in constant expression",
340 1.1 jruoho /* ASL_MSG_INVALID_TIME */ "Time parameter too long (255 max)",
341 1.1 jruoho /* ASL_MSG_INVALID_TYPE */ "Invalid type",
342 1.1 jruoho /* ASL_MSG_INVALID_UUID */ "UUID string must be of the form \"aabbccdd-eeff-gghh-iijj-kkllmmnnoopp\"",
343 1.1.1.3 christos /* ASL_MSG_ISA_ADDRESS */ "Maximum 10-bit ISA address (0x3FF)",
344 1.1.1.3 christos /* ASL_MSG_LEADING_ASTERISK */ "Invalid leading asterisk",
345 1.1 jruoho /* ASL_MSG_LIST_LENGTH_LONG */ "Initializer list longer than declared package length",
346 1.1 jruoho /* ASL_MSG_LIST_LENGTH_SHORT */ "Initializer list shorter than declared package length",
347 1.1 jruoho /* ASL_MSG_LISTING_FILE_OPEN */ "Could not open listing file",
348 1.1 jruoho /* ASL_MSG_LISTING_FILENAME */ "Could not create listing filename",
349 1.1 jruoho /* ASL_MSG_LOCAL_INIT */ "Method local variable is not initialized",
350 1.1.1.3 christos /* ASL_MSG_LOCAL_OUTSIDE_METHOD */ "Local or Arg used outside a control method",
351 1.1 jruoho /* ASL_MSG_LONG_LINE */ "Splitting long input line",
352 1.1 jruoho /* ASL_MSG_MEMORY_ALLOCATION */ "Memory allocation failure",
353 1.1 jruoho /* ASL_MSG_MISSING_ENDDEPENDENT */ "Missing EndDependentFn() macro in dependent resource list",
354 1.1 jruoho /* ASL_MSG_MISSING_STARTDEPENDENT */ "Missing StartDependentFn() macro in dependent resource list",
355 1.1.1.3 christos /* ASL_MSG_MULTIPLE_DEFAULT */ "More than one Default statement within Switch construct",
356 1.1 jruoho /* ASL_MSG_MULTIPLE_TYPES */ "Multiple types",
357 1.1 jruoho /* ASL_MSG_NAME_EXISTS */ "Name already exists in scope",
358 1.1 jruoho /* ASL_MSG_NAME_OPTIMIZATION */ "NamePath optimized",
359 1.1.1.3 christos /* ASL_MSG_NAMED_OBJECT_IN_WHILE */ "Creating a named object in a While loop",
360 1.1 jruoho /* ASL_MSG_NESTED_COMMENT */ "Nested comment found",
361 1.1 jruoho /* ASL_MSG_NO_CASES */ "No Case statements under Switch",
362 1.1.1.3 christos /* ASL_MSG_NO_REGION */ "_REG has no corresponding Operation Region",
363 1.1 jruoho /* ASL_MSG_NO_RETVAL */ "Called method returns no value",
364 1.1 jruoho /* ASL_MSG_NO_WHILE */ "No enclosing While statement",
365 1.1 jruoho /* ASL_MSG_NON_ASCII */ "Invalid characters found in file",
366 1.1.1.3 christos /* ASL_MSG_NON_ZERO */ "Operand evaluates to zero",
367 1.1 jruoho /* ASL_MSG_NOT_EXIST */ "Object does not exist",
368 1.1 jruoho /* ASL_MSG_NOT_FOUND */ "Object not found or not accessible from scope",
369 1.1 jruoho /* ASL_MSG_NOT_METHOD */ "Not a control method, cannot invoke",
370 1.1 jruoho /* ASL_MSG_NOT_PARAMETER */ "Not a parameter, used as local only",
371 1.1 jruoho /* ASL_MSG_NOT_REACHABLE */ "Object is not accessible from this scope",
372 1.1.1.3 christos /* ASL_MSG_NOT_REFERENCED */ "Object is not referenced",
373 1.1.1.3 christos /* ASL_MSG_NULL_DESCRIPTOR */ "Min/Max/Length/Gran are all zero, but no resource tag",
374 1.1.1.3 christos /* ASL_MSG_NULL_STRING */ "Invalid zero-length (null) string",
375 1.1 jruoho /* ASL_MSG_OPEN */ "Could not open file",
376 1.1 jruoho /* ASL_MSG_OUTPUT_FILE_OPEN */ "Could not open output AML file",
377 1.1 jruoho /* ASL_MSG_OUTPUT_FILENAME */ "Could not create output filename",
378 1.1 jruoho /* ASL_MSG_PACKAGE_LENGTH */ "Effective AML package length is zero",
379 1.1.1.3 christos /* ASL_MSG_PREPROCESSOR_FILENAME */ "Could not create preprocessor filename",
380 1.1 jruoho /* ASL_MSG_READ */ "Could not read file",
381 1.1 jruoho /* ASL_MSG_RECURSION */ "Recursive method call",
382 1.1 jruoho /* ASL_MSG_REGION_BUFFER_ACCESS */ "Host Operation Region requires BufferAcc access",
383 1.1 jruoho /* ASL_MSG_REGION_BYTE_ACCESS */ "Host Operation Region requires ByteAcc access",
384 1.1 jruoho /* ASL_MSG_RESERVED_ARG_COUNT_HI */ "Reserved method has too many arguments",
385 1.1 jruoho /* ASL_MSG_RESERVED_ARG_COUNT_LO */ "Reserved method has too few arguments",
386 1.1 jruoho /* ASL_MSG_RESERVED_METHOD */ "Reserved name must be a control method",
387 1.1.1.3 christos /* ASL_MSG_RESERVED_NO_RETURN_VAL */ "Reserved method should not return a value",
388 1.1 jruoho /* ASL_MSG_RESERVED_OPERAND_TYPE */ "Invalid object type for reserved name",
389 1.1.1.3 christos /* ASL_MSG_RESERVED_PACKAGE_LENGTH */ "Invalid package length for reserved name",
390 1.1 jruoho /* ASL_MSG_RESERVED_RETURN_VALUE */ "Reserved method must return a value",
391 1.1 jruoho /* ASL_MSG_RESERVED_USE */ "Invalid use of reserved name",
392 1.1 jruoho /* ASL_MSG_RESERVED_WORD */ "Use of reserved name",
393 1.1 jruoho /* ASL_MSG_RESOURCE_FIELD */ "Resource field name cannot be used as a target",
394 1.1 jruoho /* ASL_MSG_RESOURCE_INDEX */ "Missing ResourceSourceIndex (required)",
395 1.1 jruoho /* ASL_MSG_RESOURCE_LIST */ "Too many resource items (internal error)",
396 1.1 jruoho /* ASL_MSG_RESOURCE_SOURCE */ "Missing ResourceSource string (required)",
397 1.1.1.3 christos /* ASL_MSG_RESULT_NOT_USED */ "Result is not used, operator has no effect",
398 1.1 jruoho /* ASL_MSG_RETURN_TYPES */ "Not all control paths return a value",
399 1.1 jruoho /* ASL_MSG_SCOPE_FWD_REF */ "Forward references from Scope operator not allowed",
400 1.1 jruoho /* ASL_MSG_SCOPE_TYPE */ "Existing object has invalid type for Scope operator",
401 1.1 jruoho /* ASL_MSG_SEEK */ "Could not seek file",
402 1.1.1.3 christos /* ASL_MSG_SERIALIZED */ "Control Method marked Serialized",
403 1.1.1.3 christos /* ASL_MSG_SERIALIZED_REQUIRED */ "Control Method should be made Serialized",
404 1.1 jruoho /* ASL_MSG_SINGLE_NAME_OPTIMIZATION */ "NamePath optimized to NameSeg (uses run-time search path)",
405 1.1 jruoho /* ASL_MSG_SOME_NO_RETVAL */ "Called method may not always return a value",
406 1.1.1.3 christos /* ASL_MSG_STRING_LENGTH */ "String literal too long",
407 1.1 jruoho /* ASL_MSG_SWITCH_TYPE */ "Switch expression is not a static Integer/Buffer/String data type, defaulting to Integer",
408 1.1 jruoho /* ASL_MSG_SYNC_LEVEL */ "SyncLevel must be in the range 0-15",
409 1.1 jruoho /* ASL_MSG_SYNTAX */ "",
410 1.1 jruoho /* ASL_MSG_TABLE_SIGNATURE */ "Invalid Table Signature",
411 1.1.1.3 christos /* ASL_MSG_TAG_LARGER */ "ResourceTag larger than Field",
412 1.1.1.3 christos /* ASL_MSG_TAG_SMALLER */ "ResourceTag smaller than Field",
413 1.1.1.3 christos /* ASL_MSG_TIMEOUT */ "Result is not used, possible operator timeout will be missed",
414 1.1 jruoho /* ASL_MSG_TOO_MANY_TEMPS */ "Method requires too many temporary variables (_T_x)",
415 1.1.1.3 christos /* ASL_MSG_TRUNCATION */ "64-bit return value will be truncated to 32 bits (DSDT version < 2)",
416 1.1 jruoho /* ASL_MSG_UNKNOWN_RESERVED_NAME */ "Unknown reserved name",
417 1.1 jruoho /* ASL_MSG_UNREACHABLE_CODE */ "Statement is unreachable",
418 1.1 jruoho /* ASL_MSG_UNSUPPORTED */ "Unsupported feature",
419 1.1.1.3 christos /* ASL_MSG_UPPER_CASE */ "Non-hex letters must be upper case",
420 1.1 jruoho /* ASL_MSG_VENDOR_LIST */ "Too many vendor data bytes (7 max)",
421 1.1 jruoho /* ASL_MSG_WRITE */ "Could not write file",
422 1.1.1.3 christos /* ASL_MSG_RANGE */ "Constant out of range",
423 1.1.1.3 christos /* ASL_MSG_BUFFER_ALLOCATION */ "Could not allocate line buffer",
424 1.1 jruoho
425 1.1.1.3 christos /* Preprocessor */
426 1.1.1.3 christos
427 1.1.1.3 christos /* ASL_MSG_DIRECTIVE_SYNTAX */ "Invalid directive syntax",
428 1.1.1.3 christos /* ASL_MSG_ENDIF_MISMATCH */ "Mismatched #endif",
429 1.1.1.3 christos /* ASL_MSG_ERROR_DIRECTIVE */ "#error",
430 1.1.1.3 christos /* ASL_MSG_EXISTING_NAME */ "Name is already defined",
431 1.1.1.3 christos /* ASL_MSG_INVALID_INVOCATION */ "Invalid macro invocation",
432 1.1.1.3 christos /* ASL_MSG_MACRO_SYNTAX */ "Invalid macro syntax",
433 1.1.1.3 christos /* ASL_MSG_TOO_MANY_ARGUMENTS */ "Too many macro arguments",
434 1.1.1.3 christos /* ASL_MSG_UNKNOWN_DIRECTIVE */ "Unknown directive",
435 1.1.1.3 christos /* ASL_MSG_UNKNOWN_PRAGMA */ "Unknown pragma",
436 1.1.1.3 christos /* ASL_MSG_WARNING_DIRECTIVE */ "#warning",
437 1.1.1.3 christos
438 1.1.1.3 christos /* Table compiler */
439 1.1 jruoho
440 1.1 jruoho /* ASL_MSG_BUFFER_ELEMENT */ "Invalid element in buffer initializer list",
441 1.1.1.3 christos /* ASL_MSG_DIVIDE_BY_ZERO */ "Expression contains divide-by-zero",
442 1.1 jruoho /* ASL_MSG_FLAG_VALUE */ "Flag value is too large",
443 1.1.1.3 christos /* ASL_MSG_INTEGER_SIZE */ "Integer too large for target",
444 1.1.1.3 christos /* ASL_MSG_INVALID_EXPRESSION */ "Invalid expression",
445 1.1.1.3 christos /* ASL_MSG_INVALID_FIELD_NAME */ "Invalid Field Name",
446 1.1.1.3 christos /* ASL_MSG_INVALID_HEX_INTEGER */ "Invalid hex integer constant",
447 1.1 jruoho /* ASL_MSG_OEM_TABLE */ "OEM table - unknown contents",
448 1.1.1.3 christos /* ASL_MSG_RESERVED_VALUE */ "Reserved field must be zero",
449 1.1 jruoho /* ASL_MSG_UNKNOWN_LABEL */ "Label is undefined",
450 1.1.1.3 christos /* ASL_MSG_UNKNOWN_SUBTABLE */ "Unknown subtable type",
451 1.1.1.3 christos /* ASL_MSG_UNKNOWN_TABLE */ "Unknown ACPI table signature",
452 1.1.1.3 christos /* ASL_MSG_ZERO_VALUE */ "Value must be non-zero"
453 1.1 jruoho };
454 1.1 jruoho
455 1.1 jruoho #endif /* ASL_EXCEPTIONS */
456 1.1 jruoho
457 1.1 jruoho #endif /* __ASLMESSAGES_H */
458