FreeBSD/sys/contrib/dev/acpica/components/debugger/dbutils.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiDbSetOutputDestination
 *
 * PARAMETERS:  OutputFlags         - Current flags word
 *
 * RETURN:      None
 *
 * DESCRIPTION: Set the current destination for debugger output. Also sets
 *              the debug output level accordingly.
 *
 ******************************************************************************/
AcpiDbSetOutputDestination
PARAMETERS:  OutputFlags         - Current flags word

None

Set the current destination for debugger output. Also sets
the debug output level accordingly.
AcpiDbSetOutputDestination PARAMETERS : OutputFlags - Current flags word None Set the current destination for debugger output . Also sets the debug output level accordingly .
void
AcpiDbSetOutputDestination (
    UINT32                  OutputFlags)
{
    AcpiGbl_DbOutputFlags = (UINT8) OutputFlags;
    if ((OutputFlags & ACPI_DB_REDIRECTABLE_OUTPUT) &&
        AcpiGbl_DbOutputToFile)
    {
        AcpiDbgLevel = AcpiGbl_DbDebugLevel;
    }
    else
    {
        AcpiDbgLevel = AcpiGbl_DbConsoleDebugLevel;
    }
}
void AcpiDbSetOutputDestination ( UINT32 OutputFlags ) { AcpiGbl_DbOutputFlags = ( UINT8 ) OutputFlags ; if ( ( OutputFlags & ACPI_DB_REDIRECTABLE_OUTPUT ) && AcpiGbl_DbOutputToFile ) { AcpiDbgLevel = AcpiGbl_DbDebugLevel ; } else { AcpiDbgLevel = AcpiGbl_DbConsoleDebugLevel ; } }
FUNCTION:    AcpiDbSetOutputDestination
 PARAMETERS:  OutputFlags         - Current flags word
FUNCTION : AcpiDbSetOutputDestination PARAMETERS : OutputFlags - Current flags word