summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/exstorob.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/exstorob.c')
-rw-r--r--sys/contrib/dev/acpica/exstorob.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/exstorob.c b/sys/contrib/dev/acpica/exstorob.c
index 205fdad..d93b719 100644
--- a/sys/contrib/dev/acpica/exstorob.c
+++ b/sys/contrib/dev/acpica/exstorob.c
@@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: amstorob - AML Interpreter object store support, store to object
- * $Revision: 16 $
+ * $Revision: 17 $
*
*****************************************************************************/
@@ -416,6 +416,10 @@ AcpiAmlStoreObjectToObject (
case ACPI_TYPE_NUMBER:
DestDesc->Number.Value = ValDesc->Number.Value;
+
+ /* Truncate value if we are executing from a 32-bit ACPI table */
+
+ AcpiAmlTruncateFor32bitTable (DestDesc, WalkState);
break;
default:
OpenPOWER on IntegriCloud