diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2002-08-29 01:51:24 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2002-08-29 01:51:24 +0000 |
commit | 1824f192010fc0c0826e9889892e534075b58793 (patch) | |
tree | bbc04a2733724f3f0ab5cecb259948ac9a9723d7 /sys/contrib/dev/acpica/dmopcode.c | |
parent | 3f86517f16a9cf970e93e483e90066da6eb323dd (diff) | |
download | FreeBSD-src-1824f192010fc0c0826e9889892e534075b58793.zip FreeBSD-src-1824f192010fc0c0826e9889892e534075b58793.tar.gz |
Vendor import of the Intel ACPI CA 20020815 drop.
Diffstat (limited to 'sys/contrib/dev/acpica/dmopcode.c')
-rw-r--r-- | sys/contrib/dev/acpica/dmopcode.c | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/sys/contrib/dev/acpica/dmopcode.c b/sys/contrib/dev/acpica/dmopcode.c index b08042e..2a35fd3 100644 --- a/sys/contrib/dev/acpica/dmopcode.c +++ b/sys/contrib/dev/acpica/dmopcode.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dmopcode - AML disassembler, specific AML opcodes - * $Revision: 75 $ + * $Revision: 77 $ * ******************************************************************************/ @@ -122,7 +122,7 @@ #ifdef ACPI_DISASSEMBLER -#define _COMPONENT ACPI_DEBUGGER +#define _COMPONENT ACPI_CA_DEBUGGER ACPI_MODULE_NAME ("dmopcode") @@ -419,7 +419,7 @@ AcpiDmDisassembleOneOp ( case AML_BYTE_OP: - AcpiOsPrintf ("0x%.2X", (UINT32) Op->Common.Value.Integer8); + AcpiOsPrintf ("0x%2.2X", (UINT32) Op->Common.Value.Integer8); break; @@ -431,7 +431,7 @@ AcpiDmDisassembleOneOp ( } else { - AcpiOsPrintf ("0x%.2X", (UINT32) Op->Common.Value.Integer16); + AcpiOsPrintf ("0x%4.4X", (UINT32) Op->Common.Value.Integer16); } break; @@ -442,30 +442,17 @@ AcpiDmDisassembleOneOp ( { AcpiDmEisaId (Op->Common.Value.Integer32); } - else if ((Op->Common.Value.Integer32 == ACPI_UINT32_MAX) && - (AcpiGbl_DSDT->Revision < 2)) - { - AcpiOsPrintf ("Ones"); - } else { - AcpiOsPrintf ("0x%.2X", Op->Common.Value.Integer32); + AcpiOsPrintf ("0x%8.8X", Op->Common.Value.Integer32); } break; case AML_QWORD_OP: - if ((Op->Common.Value.Integer == ACPI_INTEGER_MAX) && - (AcpiGbl_DSDT->Revision >= 2)) - { - AcpiOsPrintf ("Ones"); - } - else - { - AcpiOsPrintf ("0x%X%8.8X", Op->Common.Value.Integer64.Hi, - Op->Common.Value.Integer64.Lo); - } + AcpiOsPrintf ("0x%8.8X%8.8X", Op->Common.Value.Integer64.Hi, + Op->Common.Value.Integer64.Lo); break; @@ -596,7 +583,7 @@ AcpiDmDisassembleOneOp ( AcpiOsPrintf ("%s", OpInfo->Name); -#ifdef ENABLE_DEBUGGER +#ifdef ACPI_DEBUGGER if ((Op->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP) && (WalkState) && |