Deleted Added
full compact
acmacros.h (246040) acmacros.h (249663)
1/******************************************************************************
2 *
3 * Name: acmacros.h - C macros for the entire subsystem.
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2013, Intel Corp.

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

372 * Ascii error messages can be configured out
373 */
374#ifndef ACPI_NO_ERROR_MESSAGES
375/*
376 * Error reporting. Callers module and line number are inserted by AE_INFO,
377 * the plist contains a set of parens to allow variable-length lists.
378 * These macros are used for both the debug and non-debug versions of the code.
379 */
1/******************************************************************************
2 *
3 * Name: acmacros.h - C macros for the entire subsystem.
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2013, Intel Corp.

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

372 * Ascii error messages can be configured out
373 */
374#ifndef ACPI_NO_ERROR_MESSAGES
375/*
376 * Error reporting. Callers module and line number are inserted by AE_INFO,
377 * the plist contains a set of parens to allow variable-length lists.
378 * These macros are used for both the debug and non-debug versions of the code.
379 */
380#define ACPI_ERROR_NAMESPACE(s, e) AcpiUtNamespaceError (AE_INFO, s, e);
381#define ACPI_ERROR_METHOD(s, n, p, e) AcpiUtMethodError (AE_INFO, s, n, p, e);
382#define ACPI_WARN_PREDEFINED(plist) AcpiUtPredefinedWarning plist
383#define ACPI_INFO_PREDEFINED(plist) AcpiUtPredefinedInfo plist
380#define ACPI_ERROR_NAMESPACE(s, e) AcpiUtNamespaceError (AE_INFO, s, e);
381#define ACPI_ERROR_METHOD(s, n, p, e) AcpiUtMethodError (AE_INFO, s, n, p, e);
382#define ACPI_WARN_PREDEFINED(plist) AcpiUtPredefinedWarning plist
383#define ACPI_INFO_PREDEFINED(plist) AcpiUtPredefinedInfo plist
384#define ACPI_BIOS_ERROR_PREDEFINED(plist) AcpiUtPredefinedBiosError plist
384
385#else
386
387/* No error messages */
388
389#define ACPI_ERROR_NAMESPACE(s, e)
390#define ACPI_ERROR_METHOD(s, n, p, e)
391#define ACPI_WARN_PREDEFINED(plist)
392#define ACPI_INFO_PREDEFINED(plist)
385
386#else
387
388/* No error messages */
389
390#define ACPI_ERROR_NAMESPACE(s, e)
391#define ACPI_ERROR_METHOD(s, n, p, e)
392#define ACPI_WARN_PREDEFINED(plist)
393#define ACPI_INFO_PREDEFINED(plist)
394#define ACPI_BIOS_ERROR_PREDEFINED(plist)
393
394#endif /* ACPI_NO_ERROR_MESSAGES */
395
396#if (!ACPI_REDUCED_HARDWARE)
397#define ACPI_HW_OPTIONAL_FUNCTION(addr) addr
398#else
399#define ACPI_HW_OPTIONAL_FUNCTION(addr) NULL
400#endif

--- 56 unchanged lines hidden ---
395
396#endif /* ACPI_NO_ERROR_MESSAGES */
397
398#if (!ACPI_REDUCED_HARDWARE)
399#define ACPI_HW_OPTIONAL_FUNCTION(addr) addr
400#else
401#define ACPI_HW_OPTIONAL_FUNCTION(addr) NULL
402#endif

--- 56 unchanged lines hidden ---