1/******************************************************************************
2 *
3 * Name: acmacros.h - C macros for the entire subsystem.
4 *
5 *****************************************************************************/
6
7/******************************************************************************
8 *
--- 389 unchanged lines hidden (view full) ---
398/*
399 * Error reporting. Callers module and line number are inserted by AE_INFO,
400 * the plist contains a set of parens to allow variable-length lists.
401 * These macros are used for both the debug and non-debug versions of the code.
402 */
403#define ACPI_ERROR_NAMESPACE(s, e) AcpiNsReportError (AE_INFO, s, e);
404#define ACPI_ERROR_METHOD(s, n, p, e) AcpiNsReportMethodError (AE_INFO, s, n, p, e);
405#define ACPI_WARN_PREDEFINED(plist) AcpiUtPredefinedWarning plist
406#define ACPI_INFO_PREDEFINED(plist) AcpiUtPredefinedInfo plist
407
408#else
409
410/* No error messages */
411
412#define ACPI_ERROR_NAMESPACE(s, e)
413#define ACPI_ERROR_METHOD(s, n, p, e)
414#define ACPI_WARN_PREDEFINED(plist)
415#define ACPI_INFO_PREDEFINED(plist)
416
417#endif /* ACPI_NO_ERROR_MESSAGES */
418
419/*
420 * Debug macros that are conditionally compiled
421 */
422#ifdef ACPI_DEBUG_OUTPUT
423/*
--- 182 unchanged lines hidden ---
2 *
3 * Name: acmacros.h - C macros for the entire subsystem.
4 *
5 *****************************************************************************/
6
7/******************************************************************************
8 *
--- 389 unchanged lines hidden (view full) ---
398/*
399 * Error reporting. Callers module and line number are inserted by AE_INFO,
400 * the plist contains a set of parens to allow variable-length lists.
401 * These macros are used for both the debug and non-debug versions of the code.
402 */
403#define ACPI_ERROR_NAMESPACE(s, e) AcpiNsReportError (AE_INFO, s, e);
404#define ACPI_ERROR_METHOD(s, n, p, e) AcpiNsReportMethodError (AE_INFO, s, n, p, e);
405#define ACPI_WARN_PREDEFINED(plist) AcpiUtPredefinedWarning plist
406#define ACPI_INFO_PREDEFINED(plist) AcpiUtPredefinedInfo plist
407
408#else
409
410/* No error messages */
411
412#define ACPI_ERROR_NAMESPACE(s, e)
413#define ACPI_ERROR_METHOD(s, n, p, e)
414#define ACPI_WARN_PREDEFINED(plist)
415#define ACPI_INFO_PREDEFINED(plist)
416
417#endif /* ACPI_NO_ERROR_MESSAGES */
418
419/*
420 * Debug macros that are conditionally compiled
421 */
422#ifdef ACPI_DEBUG_OUTPUT
423/*
--- 182 unchanged lines hidden ---