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
407#else
408
409/* No error messages */
410
411#define ACPI_ERROR_NAMESPACE(s, e)
412#define ACPI_ERROR_METHOD(s, n, p, e)
413#define ACPI_WARN_PREDEFINED(plist)
414
415#endif /* ACPI_NO_ERROR_MESSAGES */
416
417/*
418 * Debug macros that are conditionally compiled
419 */
420#ifdef ACPI_DEBUG_OUTPUT
421/*
--- 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
407#else
408
409/* No error messages */
410
411#define ACPI_ERROR_NAMESPACE(s, e)
412#define ACPI_ERROR_METHOD(s, n, p, e)
413#define ACPI_WARN_PREDEFINED(plist)
414
415#endif /* ACPI_NO_ERROR_MESSAGES */
416
417/*
418 * Debug macros that are conditionally compiled
419 */
420#ifdef ACPI_DEBUG_OUTPUT
421/*
--- 182 unchanged lines hidden ---