utxferror.c (250838) | utxferror.c (272444) |
---|---|
1/******************************************************************************* 2 * 3 * Module Name: utxferror - Various error/warning output functions 4 * 5 ******************************************************************************/ 6 7/* | 1/******************************************************************************* 2 * 3 * Module Name: utxferror - Various error/warning output functions 4 * 5 ******************************************************************************/ 6 7/* |
8 * Copyright (C) 2000 - 2013, Intel Corp. | 8 * Copyright (C) 2000 - 2014, Intel Corp. |
9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions, and the following disclaimer, 16 * without modification. --- 20 unchanged lines hidden (view full) --- 37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41 * POSSIBILITY OF SUCH DAMAGES. 42 */ 43 44#define __UTXFERROR_C__ | 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions, and the following disclaimer, 16 * without modification. --- 20 unchanged lines hidden (view full) --- 37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41 * POSSIBILITY OF SUCH DAMAGES. 42 */ 43 44#define __UTXFERROR_C__ |
45#define EXPORT_ACPI_INTERFACES |
|
45 46#include <contrib/dev/acpica/include/acpi.h> 47#include <contrib/dev/acpica/include/accommon.h> 48 49 50#define _COMPONENT ACPI_UTILITIES 51 ACPI_MODULE_NAME ("utxferror") 52 53/* 54 * This module is used for the in-kernel ACPICA as well as the ACPICA 55 * tools/applications. 56 */ 57 | 46 47#include <contrib/dev/acpica/include/acpi.h> 48#include <contrib/dev/acpica/include/accommon.h> 49 50 51#define _COMPONENT ACPI_UTILITIES 52 ACPI_MODULE_NAME ("utxferror") 53 54/* 55 * This module is used for the in-kernel ACPICA as well as the ACPICA 56 * tools/applications. 57 */ 58 |
59#ifndef ACPI_NO_ERROR_MESSAGES /* Entire module */ 60 |
|
58/******************************************************************************* 59 * 60 * FUNCTION: AcpiError 61 * 62 * PARAMETERS: ModuleName - Caller's module name (for error output) 63 * LineNumber - Caller's line number (for error output) 64 * Format - Printf format string + additional args 65 * --- 223 unchanged lines hidden (view full) --- 289 AcpiOsVprintf (Format, ArgList); 290 ACPI_MSG_SUFFIX; 291 va_end (ArgList); 292 293 ACPI_MSG_REDIRECT_END; 294} 295 296ACPI_EXPORT_SYMBOL (AcpiBiosWarning) | 61/******************************************************************************* 62 * 63 * FUNCTION: AcpiError 64 * 65 * PARAMETERS: ModuleName - Caller's module name (for error output) 66 * LineNumber - Caller's line number (for error output) 67 * Format - Printf format string + additional args 68 * --- 223 unchanged lines hidden (view full) --- 292 AcpiOsVprintf (Format, ArgList); 293 ACPI_MSG_SUFFIX; 294 va_end (ArgList); 295 296 ACPI_MSG_REDIRECT_END; 297} 298 299ACPI_EXPORT_SYMBOL (AcpiBiosWarning) |
300 301#endif /* ACPI_NO_ERROR_MESSAGES */ |
|