Opcode class/type cleanup. Restructuring of math and logic AML

opcodes.  Match op restructured.  Added opcode class dispatch table


date	2001.10.01.16.58.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:18:57 +00:00
parent c0acaae49c
commit 330a003366

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbdisply - debug display commands
* $Revision: 1.53 $
* $Revision: 1.54 $
*
******************************************************************************/
@ -653,24 +653,12 @@ AcpiDbDisplayMethodInfo (
NumRemainingOps++;
}
OpInfo = AcpiPsGetOpcodeInfo (Op->Opcode);
if (ACPI_GET_OP_TYPE (OpInfo) != ACPI_OP_TYPE_OPCODE)
{
/* Bad opcode or ASCII character */
continue;
}
/* Decode the opcode */
OpInfo = AcpiPsGetOpcodeInfo (Op->Opcode);
switch (ACPI_GET_OP_CLASS (OpInfo))
{
case OPTYPE_CONSTANT: /* argument type only */
case OPTYPE_LITERAL: /* argument type only */
case OPTYPE_DATA_TERM: /* argument type only */
case OPTYPE_LOCAL_VARIABLE: /* argument type only */
case OPTYPE_METHOD_ARGUMENT: /* argument type only */
case AML_CLASS_ARGUMENT:
if (CountRemaining)
{
NumRemainingOperands++;
@ -679,6 +667,11 @@ AcpiDbDisplayMethodInfo (
NumOperands++;
break;
case AML_CLASS_UNKNOWN:
/* Bad opcode or ASCII character */
continue;
default:
if (CountRemaining)
{