0fb27e
diff -Naur acpica-unix2-20180209.orig/source/components/tables/tbutils.c acpica-unix2-20180209/source/components/tables/tbutils.c
0fb27e
--- acpica-unix2-20180209.orig/source/components/tables/tbutils.c	2018-03-15 16:47:21.831526264 -0600
0fb27e
+++ acpica-unix2-20180209/source/components/tables/tbutils.c	2018-03-15 16:58:20.030097284 -0600
0fb27e
@@ -238,9 +238,11 @@
0fb27e
          * 64-bit platform, XSDT: Move (unaligned) 64-bit to local,
0fb27e
          *  return 64-bit
0fb27e
          */
0fb27e
-	Address64 = (UINT64) TableEntry;
0fb27e
 
0fb27e
 #if ACPI_MACHINE_WIDTH == 32
0fb27e
+	UINT32 Tmp32 = (UINT32) TableEntry;
0fb27e
+
0fb27e
+	Address64 = (UINT64) Tmp32;
0fb27e
         if (Address64 > ACPI_UINT32_MAX)
0fb27e
         {
0fb27e
             /* Will truncate 64-bit address to 32 bits, issue warning */
0fb27e
@@ -250,9 +252,15 @@
0fb27e
                 " truncating",
0fb27e
                 ACPI_FORMAT_UINT64 (Address64)));
0fb27e
         }
0fb27e
-#endif
0fb27e
+
0fb27e
+        return ((ACPI_PHYSICAL_ADDRESS) (*ACPI_CAST_PTR (
0fb27e
+            UINT32, TableEntry)));
0fb27e
+#else
0fb27e
+	Address64 = (UINT64) TableEntry;
0fb27e
+
0fb27e
         return ((ACPI_PHYSICAL_ADDRESS) (*ACPI_CAST_PTR (
0fb27e
             UINT64, Address64)));
0fb27e
+#endif
0fb27e
     }
0fb27e
 }
0fb27e
 
0fb27e
diff -Naur acpica-unix2-20180209.orig/source/compiler/aslparseop.c acpica-unix2-20180209/source/compiler/aslparseop.c
0fb27e
--- acpica-unix2-20180209.orig/source/compiler/aslparseop.c	2018-03-15 17:20:09.844338074 -0600
0fb27e
+++ acpica-unix2-20180209/source/compiler/aslparseop.c	2018-03-15 17:28:19.570800797 -0600
0fb27e
@@ -287,7 +287,11 @@
0fb27e
         ParseOpcode == PARSEOP_NAMESEG ||
0fb27e
         ParseOpcode == PARSEOP_STRING_LITERAL)
0fb27e
     {
0fb27e
+#if ACPI_MACHINE_WIDTH == 32
0fb27e
+        Op->Asl.Value.String = (char *) (UINT32) Value;
0fb27e
+#else
0fb27e
         Op->Asl.Value.String = (char *) Value;
0fb27e
+#endif
0fb27e
     }
0fb27e
     else
0fb27e
     {