diff options
author | Bob Moore <robert.moore@intel.com> | 2012-07-15 21:25:27 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-07-17 00:05:49 -0400 |
commit | 62cdd14191cdc6749fbc5e489cf80f5149c9ca15 (patch) | |
tree | 362f22ede200a078a44a5accab1705c9818b54fd /include/acpi | |
parent | bc7db1453902ec53cdbcb6a9807db0c527be990f (diff) |
ACPICA: Add new interfaces for BIOS(firmware) errors and warnings
These new interfaces will be deployed across ACPICA in order to
point a finger directly at any detected BIOS issues -- such as
issues with ACPI tables, etc.
https://www.acpica.org/bugzilla/show_bug.cgi?id=843
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acoutput.h | 4 | ||||
-rw-r--r-- | include/acpi/acpixf.h | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index d7bd661bfae7..f1cb332fe59e 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h | |||
@@ -213,6 +213,8 @@ | |||
213 | #define ACPI_WARNING(plist) acpi_warning plist | 213 | #define ACPI_WARNING(plist) acpi_warning plist |
214 | #define ACPI_EXCEPTION(plist) acpi_exception plist | 214 | #define ACPI_EXCEPTION(plist) acpi_exception plist |
215 | #define ACPI_ERROR(plist) acpi_error plist | 215 | #define ACPI_ERROR(plist) acpi_error plist |
216 | #define ACPI_BIOS_WARNING(plist) acpi_bios_warning plist | ||
217 | #define ACPI_BIOS_ERROR(plist) acpi_bios_error plist | ||
216 | #define ACPI_DEBUG_OBJECT(obj,l,i) acpi_ex_do_debug_object(obj,l,i) | 218 | #define ACPI_DEBUG_OBJECT(obj,l,i) acpi_ex_do_debug_object(obj,l,i) |
217 | 219 | ||
218 | #else | 220 | #else |
@@ -223,6 +225,8 @@ | |||
223 | #define ACPI_WARNING(plist) | 225 | #define ACPI_WARNING(plist) |
224 | #define ACPI_EXCEPTION(plist) | 226 | #define ACPI_EXCEPTION(plist) |
225 | #define ACPI_ERROR(plist) | 227 | #define ACPI_ERROR(plist) |
228 | #define ACPI_BIOS_WARNING(plist) | ||
229 | #define ACPI_BIOS_ERROR(plist) | ||
226 | #define ACPI_DEBUG_OBJECT(obj,l,i) | 230 | #define ACPI_DEBUG_OBJECT(obj,l,i) |
227 | 231 | ||
228 | #endif /* ACPI_NO_ERROR_MESSAGES */ | 232 | #endif /* ACPI_NO_ERROR_MESSAGES */ |
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 18f023a5e964..8f83f95c109d 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -529,6 +529,14 @@ void ACPI_INTERNAL_VAR_XFACE | |||
529 | acpi_info(const char *module_name, | 529 | acpi_info(const char *module_name, |
530 | u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3); | 530 | u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3); |
531 | 531 | ||
532 | void ACPI_INTERNAL_VAR_XFACE | ||
533 | acpi_bios_error(const char *module_name, | ||
534 | u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3); | ||
535 | |||
536 | void ACPI_INTERNAL_VAR_XFACE | ||
537 | acpi_bios_warning(const char *module_name, | ||
538 | u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3); | ||
539 | |||
532 | /* | 540 | /* |
533 | * Debug output | 541 | * Debug output |
534 | */ | 542 | */ |