Deleted Added
full compact
aslmessages.h (217365) aslmessages.h (218590)
1
2/******************************************************************************
3 *
4 * Module Name: aslmessages.h - Compiler error/warning messages
5 *
6 *****************************************************************************/
7
8/*

--- 174 unchanged lines hidden (view full) ---

183 ASL_MSG_INVALID_GRAN_FIXED,
184 ASL_MSG_INVALID_ACCESS_SIZE,
185 ASL_MSG_INVALID_ADDR_FLAGS,
186 ASL_MSG_NULL_DESCRIPTOR,
187 ASL_MSG_UPPER_CASE,
188 ASL_MSG_HID_LENGTH,
189 ASL_MSG_NULL_STRING,
190 ASL_MSG_LEADING_ASTERISK,
1
2/******************************************************************************
3 *
4 * Module Name: aslmessages.h - Compiler error/warning messages
5 *
6 *****************************************************************************/
7
8/*

--- 174 unchanged lines hidden (view full) ---

183 ASL_MSG_INVALID_GRAN_FIXED,
184 ASL_MSG_INVALID_ACCESS_SIZE,
185 ASL_MSG_INVALID_ADDR_FLAGS,
186 ASL_MSG_NULL_DESCRIPTOR,
187 ASL_MSG_UPPER_CASE,
188 ASL_MSG_HID_LENGTH,
189 ASL_MSG_NULL_STRING,
190 ASL_MSG_LEADING_ASTERISK,
191 ASL_MSG_RESERVED_NO_RETURN_VAL,
192 ASL_MSG_GPE_NAME_CONFLICT,
191
192 ASL_MSG_INVALID_FIELD_NAME,
193 ASL_MSG_INTEGER_SIZE,
194 ASL_MSG_INVALID_HEX_INTEGER,
195 ASL_MSG_BUFFER_ELEMENT,
196 ASL_MSG_RESERVED_VALUE,
197 ASL_MSG_FLAG_VALUE,
198 ASL_MSG_ZERO_VALUE,
199 ASL_MSG_UNKNOWN_TABLE,
200 ASL_MSG_UNKNOWN_SUBTABLE,
193
194 ASL_MSG_INVALID_FIELD_NAME,
195 ASL_MSG_INTEGER_SIZE,
196 ASL_MSG_INVALID_HEX_INTEGER,
197 ASL_MSG_BUFFER_ELEMENT,
198 ASL_MSG_RESERVED_VALUE,
199 ASL_MSG_FLAG_VALUE,
200 ASL_MSG_ZERO_VALUE,
201 ASL_MSG_UNKNOWN_TABLE,
202 ASL_MSG_UNKNOWN_SUBTABLE,
201 ASL_MSG_OEM_TABLE
203 ASL_MSG_OEM_TABLE,
204 ASL_MSG_UNKNOWN_LABEL,
205 ASL_MSG_INVALID_EXPRESSION,
206 ASL_MSG_DIVIDE_BY_ZERO
202
203} ASL_MESSAGE_IDS;
204
205
206#ifdef ASL_EXCEPTIONS
207
208/* Actual message strings for each compiler message */
209

--- 121 unchanged lines hidden (view full) ---

331/* ASL_MSG_INVALID_GRAN_FIXED */ "Granularity must be zero for fixed Min/Max",
332/* ASL_MSG_INVALID_ACCESS_SIZE */ "Invalid AccessSize (Maximum is 4 - QWord access)",
333/* ASL_MSG_INVALID_ADDR_FLAGS */ "Invalid combination of Length and Min/Max fixed flags",
334/* ASL_MSG_NULL_DESCRIPTOR */ "Min/Max/Length/Gran are all zero, but no resource tag",
335/* ASL_MSG_UPPER_CASE */ "Non-hex letters must be upper case",
336/* ASL_MSG_HID_LENGTH */ "_HID string must be exactly 7 or 8 characters",
337/* ASL_MSG_NULL_STRING */ "Invalid zero-length (null) string",
338/* ASL_MSG_LEADING_ASTERISK */ "Invalid leading asterisk",
207
208} ASL_MESSAGE_IDS;
209
210
211#ifdef ASL_EXCEPTIONS
212
213/* Actual message strings for each compiler message */
214

--- 121 unchanged lines hidden (view full) ---

336/* ASL_MSG_INVALID_GRAN_FIXED */ "Granularity must be zero for fixed Min/Max",
337/* ASL_MSG_INVALID_ACCESS_SIZE */ "Invalid AccessSize (Maximum is 4 - QWord access)",
338/* ASL_MSG_INVALID_ADDR_FLAGS */ "Invalid combination of Length and Min/Max fixed flags",
339/* ASL_MSG_NULL_DESCRIPTOR */ "Min/Max/Length/Gran are all zero, but no resource tag",
340/* ASL_MSG_UPPER_CASE */ "Non-hex letters must be upper case",
341/* ASL_MSG_HID_LENGTH */ "_HID string must be exactly 7 or 8 characters",
342/* ASL_MSG_NULL_STRING */ "Invalid zero-length (null) string",
343/* ASL_MSG_LEADING_ASTERISK */ "Invalid leading asterisk",
344/* ASL_MSG_RESERVED_NO_RETURN_VAL */ "Reserved method should not return a value",
345/* ASL_MSG_GPE_NAME_CONFLICT */ "Name conflicts with a previous GPE method",
339
340/* These messages are used by the data table compiler only */
341
342/* ASL_MSG_INVALID_FIELD_NAME */ "Invalid Field Name",
343/* ASL_MSG_INTEGER_SIZE */ "Integer too large for target",
344/* ASL_MSG_INVALID_HEX_INTEGER */ "Invalid hex integer constant",
345/* ASL_MSG_BUFFER_ELEMENT */ "Invalid element in buffer initializer list",
346/* ASL_MSG_RESERVED_VALUE */ "Reserved field must be zero",
347/* ASL_MSG_FLAG_VALUE */ "Flag value is too large",
348/* ASL_MSG_ZERO_VALUE */ "Value must be non-zero",
349/* ASL_MSG_UNKNOWN_TABLE */ "Unknown ACPI table signature",
350/* ASL_MSG_UNKNOWN_SUBTABLE */ "Unknown subtable type",
346
347/* These messages are used by the data table compiler only */
348
349/* ASL_MSG_INVALID_FIELD_NAME */ "Invalid Field Name",
350/* ASL_MSG_INTEGER_SIZE */ "Integer too large for target",
351/* ASL_MSG_INVALID_HEX_INTEGER */ "Invalid hex integer constant",
352/* ASL_MSG_BUFFER_ELEMENT */ "Invalid element in buffer initializer list",
353/* ASL_MSG_RESERVED_VALUE */ "Reserved field must be zero",
354/* ASL_MSG_FLAG_VALUE */ "Flag value is too large",
355/* ASL_MSG_ZERO_VALUE */ "Value must be non-zero",
356/* ASL_MSG_UNKNOWN_TABLE */ "Unknown ACPI table signature",
357/* ASL_MSG_UNKNOWN_SUBTABLE */ "Unknown subtable type",
351/* ASL_MSG_OEM_TABLE */ "OEM table - unknown contents"
358/* ASL_MSG_OEM_TABLE */ "OEM table - unknown contents",
359/* ASL_MSG_UNKNOWN_LABEL */ "Label is undefined",
360/* ASL_MSG_INVALID_EXPRESSION */ "Invalid expression",
361/* ASL_MSG_DIVIDE_BY_ZERO */ "Expression contains divide-by-zero"
352
353};
354
355
356char *AslErrorLevel [ASL_NUM_REPORT_LEVELS] = {
357 "Warning ",
358 "Warning ",
359 "Warning ",
360 "Error ",
361 "Remark ",
362 "Optimize"
363};
364
365#define ASL_ERROR_LEVEL_LENGTH 8 /* Length of strings above */
366
367#endif /* ASL_EXCEPTIONS */
368
369#endif /* __ASLMESSAGES_H */
362
363};
364
365
366char *AslErrorLevel [ASL_NUM_REPORT_LEVELS] = {
367 "Warning ",
368 "Warning ",
369 "Warning ",
370 "Error ",
371 "Remark ",
372 "Optimize"
373};
374
375#define ASL_ERROR_LEVEL_LENGTH 8 /* Length of strings above */
376
377#endif /* ASL_EXCEPTIONS */
378
379#endif /* __ASLMESSAGES_H */