aboutsummaryrefslogtreecommitdiff
path: root/common/dmtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/dmtable.c')
-rw-r--r--common/dmtable.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/common/dmtable.c b/common/dmtable.c
index 05bd5e494574..d2bf698d76bb 100644
--- a/common/dmtable.c
+++ b/common/dmtable.c
@@ -295,6 +295,19 @@ static const char *AcpiDmFadtProfiles[] =
"Unknown Profile Type"
};
+#define ACPI_GAS_WIDTH_RESERVED 5
+
+static const char *AcpiDmGasAccessWidth[] =
+{
+ "Undefined/Legacy",
+ "Byte Access:8",
+ "Word Access:16",
+ "DWord Access:32",
+ "QWord Access:64",
+ "Unknown Width Encoding"
+};
+
+
/*******************************************************************************
*
* ACPI Table Data, indexed by signature.
@@ -669,6 +682,7 @@ AcpiDmDumpTable (
case ACPI_DMT_UINT8:
case ACPI_DMT_CHKSUM:
case ACPI_DMT_SPACEID:
+ case ACPI_DMT_ACCWIDTH:
case ACPI_DMT_IVRS:
case ACPI_DMT_MADT:
case ACPI_DMT_SRAT:
@@ -884,6 +898,19 @@ AcpiDmDumpTable (
AcpiOsPrintf ("%2.2X (%s)\n", *Target, AcpiUtGetRegionName (*Target));
break;
+ case ACPI_DMT_ACCWIDTH:
+
+ /* Encoded Access Width */
+
+ Temp8 = *Target;
+ if (Temp8 > ACPI_GAS_WIDTH_RESERVED)
+ {
+ Temp8 = ACPI_GAS_WIDTH_RESERVED;
+ }
+
+ AcpiOsPrintf ("%2.2X (%s)\n", Temp8, AcpiDmGasAccessWidth[Temp8]);
+ break;
+
case ACPI_DMT_GAS:
/* Generic Address Structure */