utxferror.c revision 26f3cdf03f1adcc98f6d3d99843ee71e9229a8c0
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift/*******************************************************************************
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * Module Name: utxferror - Various error/warning output functions
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift ******************************************************************************/
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * Copyright (C) 2000 - 2011, Intel Corp.
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * All rights reserved.
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * Redistribution and use in source and binary forms, with or without
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * modification, are permitted provided that the following conditions
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * 1. Redistributions of source code must retain the above copyright
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * notice, this list of conditions, and the following disclaimer,
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * without modification.
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * 2. Redistributions in binary form must reproduce at minimum a disclaimer
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * substantially similar to the "NO WARRANTY" disclaimer below
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * ("Disclaimer") and any redistribution must be conditioned upon
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * including a substantially similar Disclaimer requirement for further
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * binary redistribution.
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * 3. Neither the names of the above-listed copyright holders nor the names
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * of any contributors may be used to endorse or promote products derived
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * from this software without specific prior written permission.
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * Alternatively, this software may be distributed under the terms of the
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * GNU General Public License ("GPL") version 2 as published by the Free
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * Software Foundation.
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * NO WARRANTY
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * POSSIBILITY OF SUCH DAMAGES.
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * This module is used for the in-kernel ACPICA as well as the ACPICA
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * For the iASL compiler case, the output is redirected to stderr so that
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * any of the various ACPI errors and warnings do not appear in the output
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * files, for either the compiler or disassembler portions of the tool.
7ce59cffdb903ce1661537ac78892e0ca8a79dd2matthew_swift * non-iASL case - no redirection, nothing to do
#define ACPI_MSG_REDIRECT_END
#define ACPI_MSG_SUFFIX \
const char *ModuleName,
const char *Format,
const char *ModuleName,
const char *Format,
const char *ModuleName,
const char *Format,
AcpiInfo (
const char *ModuleName,
const char *Format,
const char *ModuleName,
char *Pathname,
const char *Format,
const char *ModuleName,
char *Pathname,
const char *Format,
const char *ModuleName,
const char *InternalName,
if (Name)
const char *ModuleName,
const char *Message,
const char *Path,
if (Path)
&Node);