mirror of
https://github.com/acpica/acpica/
synced 2025-03-30 10:02:59 +03:00
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:
parent
c0acaae49c
commit
330a003366
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user