FreeBSD/sys/contrib/dev/acpica/components/debugger/dbtest.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiDbExecuteTest
 *
 * PARAMETERS:  TypeArg         - Subcommand
 *
 * RETURN:      None
 *
 * DESCRIPTION: Execute various debug tests.
 *
 * Note: Code is prepared for future expansion of the TEST command.
 *
 ******************************************************************************/


None

Execute various debug tests.

Code is prepared for future expansion of the TEST command.
None Execute various debug tests . Code is prepared for future expansion of the TEST command .
void
AcpiDbExecuteTest (
    char                    *TypeArg)
{
    UINT32                  Temp;
    AcpiUtStrupr (TypeArg);
    Temp = AcpiDbMatchArgument (TypeArg, AcpiDbTestTypes);
    if (Temp == ACPI_TYPE_NOT_FOUND)
    {
        AcpiOsPrintf ("Invalid or unsupported argument\n");
        return;
    }
    switch (Temp)
    {
    case CMD_TEST_OBJECTS:
        AcpiDbTestAllObjects ();
        break;
    case CMD_TEST_PREDEFINED:
        AcpiDbEvaluateAllPredefinedNames (NULL);
        break;
    default:
        break;
    }
}
void AcpiDbExecuteTest ( char * TypeArg ) { UINT32 Temp ; AcpiUtStrupr ( TypeArg ) ; Temp = AcpiDbMatchArgument ( TypeArg , AcpiDbTestTypes ) ; if ( Temp == ACPI_TYPE_NOT_FOUND ) { AcpiOsPrintf ( " \n " ) ; return ; } switch ( Temp ) { case CMD_TEST_OBJECTS : AcpiDbTestAllObjects ( ) ; break ; case CMD_TEST_PREDEFINED : AcpiDbEvaluateAllPredefinedNames ( NULL ) ; break ; default : break ; } }
FUNCTION:    AcpiDbExecuteTest
 PARAMETERS:  TypeArg         - Subcommand
FUNCTION : AcpiDbExecuteTest PARAMETERS : TypeArg - Subcommand