FreeBSD/sys/contrib/dev/acpica/compiler/aslerror.c
/*******************************************************************************
 *
 * FUNCTION:    AslCoreSubsystemError
 *
 * PARAMETERS:  Op                  - Parse node where error happened
 *              Status              - The ACPICA Exception
 *              ExtraMessage        - additional error message
 *              Abort               - TRUE -> Abort compilation
 *
 * RETURN:      None
 *
 * DESCRIPTION: Error reporting routine for exceptions returned by the ACPICA
 *              core subsystem.
 *
 ******************************************************************************/


None

Error reporting routine for exceptions returned by the ACPICA
core subsystem.
None Error reporting routine for exceptions returned by the ACPICA core subsystem .
void
AslCoreSubsystemError (
    ACPI_PARSE_OBJECT       *Op,
    ACPI_STATUS             Status,
    char                    *ExtraMessage,
    BOOLEAN                 Abort)
{
    sprintf (MsgBuffer, "%s %s", AcpiFormatException (Status), ExtraMessage);
    if (Op)
    {
        AslCommonError (ASL_ERROR, ASL_MSG_CORE_EXCEPTION,
            Op->Asl.LineNumber,
            Op->Asl.LogicalLineNumber,
            Op->Asl.LogicalByteOffset,
            Op->Asl.Column,
            Op->Asl.Filename, MsgBuffer);
    }
    else
    {
        AslCommonError (ASL_ERROR, ASL_MSG_CORE_EXCEPTION,
            0, 0, 0, 0, NULL, MsgBuffer);
    }
    if (Abort)
    {
        AslAbort ();
    }
}
void AslCoreSubsystemError ( ACPI_PARSE_OBJECT * Op , ACPI_STATUS Status , char * ExtraMessage , BOOLEAN Abort ) { sprintf ( MsgBuffer , " " , AcpiFormatException ( Status ) , ExtraMessage ) ; if ( Op ) { AslCommonError ( ASL_ERROR , ASL_MSG_CORE_EXCEPTION , Op -> Asl . LineNumber , Op -> Asl . LogicalLineNumber , Op -> Asl . LogicalByteOffset , Op -> Asl . Column , Op -> Asl . Filename , MsgBuffer ) ; } else { AslCommonError ( ASL_ERROR , ASL_MSG_CORE_EXCEPTION , 0 , 0 , 0 , 0 , NULL , MsgBuffer ) ; } if ( Abort ) { AslAbort ( ) ; } }
FUNCTION:    AslCoreSubsystemError
 PARAMETERS:  Op                  - Parse node where error happened
              Status              - The ACPICA Exception
              ExtraMessage        - additional error message
              Abort               - TRUE -> Abort compilation
FUNCTION : AslCoreSubsystemError PARAMETERS : Op - Parse node where error happened Status - The ACPICA Exception ExtraMessage - additional error message Abort - TRUE - > Abort compilation