Patchwork iasl fixes

login
register
about
Submitter Stefan Reinauer
Date 2010-05-18 08:36:58
Message ID <4BF251AA.7000705@coresystems.de>
Download mbox | patch
Permalink /patch/1350/
State Accepted
Headers show

Comments

Stefan Reinauer - 2010-05-18 08:36:58
Latest iasl has a lot more checks on the asl code than previous
versions. This hits our code mostly in those parts that are changed on
the fly by the asl itself. So most of the code didn't really cause issues.

Stefan
This patch fixes compilation with the latest iasl.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>

Patch

Index: src/mainboard/iwill/dk8_htx/dsdt.asl
===================================================================
--- src/mainboard/iwill/dk8_htx/dsdt.asl	(revision 5568)
+++ src/mainboard/iwill/dk8_htx/dsdt.asl	(working copy)
@@ -66,9 +66,9 @@ 
                     DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                         0x00000000, // Address Space Granularity
                         0x000C0000, // Address Range Minimum
-                        0x00000000, // Address Range Maximum
+                        0x000CFFFF, // Address Range Maximum
                         0x00000000, // Address Translation Offset
-                        0x00000000,,,
+                        0x00010000,,,
                         , AddressRangeMemory, TypeStatic)   //Video BIOS A0000h-C7FFFh
 
                     Memory32Fixed (ReadWrite, 0x000D8000, 0x00004000)//USB HC D8000-DBFFF
Index: src/mainboard/iwill/dk8_htx/acpi/amd8111_isa.asl
===================================================================
--- src/mainboard/iwill/dk8_htx/acpi/amd8111_isa.asl	(revision 5568)
+++ src/mainboard/iwill/dk8_htx/acpi/amd8111_isa.asl	(working copy)
@@ -124,7 +124,7 @@ 
                         Name (BUF0, ResourceTemplate ()
                         {
                             Memory32Fixed (ReadWrite, 0x000E0000, 0x00020000) // BIOS E4000-FFFFF
-                            Memory32Fixed (ReadWrite, 0x000C0000, 0x00000000) // video BIOS c0000-c8404
+                            Memory32Fixed (ReadWrite, 0x000C0000, 0x00010000) // video BIOS c0000-c8404
                             Memory32Fixed (ReadWrite, 0xFEC00000, 0x00001000) // I/O APIC
                             Memory32Fixed (ReadWrite, 0xFFC00000, 0x00380000) // LPC forwarded, 4 MB w/ROM
                             Memory32Fixed (ReadWrite, 0xFEE00000, 0x00001000) // Local APIC
Index: src/mainboard/asrock/939a785gmh/dsdt.asl
===================================================================
--- src/mainboard/asrock/939a785gmh/dsdt.asl	(revision 5568)
+++ src/mainboard/asrock/939a785gmh/dsdt.asl	(working copy)
@@ -1364,10 +1364,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1517,29 +1517,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)
Index: src/mainboard/kontron/kt690/dsdt.asl
===================================================================
--- src/mainboard/kontron/kt690/dsdt.asl	(revision 5568)
+++ src/mainboard/kontron/kt690/dsdt.asl	(working copy)
@@ -1348,10 +1348,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1502,29 +1502,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)
Index: src/mainboard/amd/mahogany/dsdt.asl
===================================================================
--- src/mainboard/amd/mahogany/dsdt.asl	(revision 5568)
+++ src/mainboard/amd/mahogany/dsdt.asl	(working copy)
@@ -1364,10 +1364,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1517,29 +1517,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)
Index: src/mainboard/amd/pistachio/dsdt.asl
===================================================================
--- src/mainboard/amd/pistachio/dsdt.asl	(revision 5568)
+++ src/mainboard/amd/pistachio/dsdt.asl	(working copy)
@@ -1347,10 +1347,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1425,29 +1425,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)
Index: src/mainboard/amd/dbm690t/dsdt.asl
===================================================================
--- src/mainboard/amd/dbm690t/dsdt.asl	(revision 5568)
+++ src/mainboard/amd/dbm690t/dsdt.asl	(working copy)
@@ -1348,10 +1348,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1502,29 +1502,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)
Index: src/mainboard/amd/serengeti_cheetah/acpi/amd8111_isa.asl
===================================================================
--- src/mainboard/amd/serengeti_cheetah/acpi/amd8111_isa.asl	(revision 5568)
+++ src/mainboard/amd/serengeti_cheetah/acpi/amd8111_isa.asl	(working copy)
@@ -124,7 +124,7 @@ 
                         Name (BUF0, ResourceTemplate ()
                         {
                             Memory32Fixed (ReadWrite, 0x000E0000, 0x00020000) // BIOS E4000-FFFFF
-                            Memory32Fixed (ReadWrite, 0x000C0000, 0x00000000) // video BIOS c0000-c8404
+                            Memory32Fixed (ReadWrite, 0x000C0000, 0x00010000) // video BIOS c0000-c8404
                             Memory32Fixed (ReadWrite, 0xFEC00000, 0x00001000) // I/O APIC
                             Memory32Fixed (ReadWrite, 0xFFC00000, 0x00380000) // LPC forwarded, 4 MB w/ROM
                             Memory32Fixed (ReadWrite, 0xFEE00000, 0x00001000) // Local APIC
Index: src/mainboard/amd/serengeti_cheetah/dsdt.asl
===================================================================
--- src/mainboard/amd/serengeti_cheetah/dsdt.asl	(revision 5568)
+++ src/mainboard/amd/serengeti_cheetah/dsdt.asl	(working copy)
@@ -66,9 +66,9 @@ 
                     DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                         0x00000000, // Address Space Granularity
                         0x000C0000, // Address Range Minimum
-                        0x00000000, // Address Range Maximum
+                        0x000CFFFF, // Address Range Maximum
                         0x00000000, // Address Translation Offset
-                        0x00000000,,,
+                        0x00010000,,,
                         , AddressRangeMemory, TypeStatic)   //Video BIOS A0000h-C7FFFh
 
                     Memory32Fixed (ReadWrite, 0x000D8000, 0x00004000)//USB HC D8000-DBFFF
Index: src/mainboard/amd/mahogany_fam10/dsdt.asl
===================================================================
--- src/mainboard/amd/mahogany_fam10/dsdt.asl	(revision 5568)
+++ src/mainboard/amd/mahogany_fam10/dsdt.asl	(working copy)
@@ -1406,10 +1406,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1559,29 +1559,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)
Index: src/mainboard/amd/tilapia_fam10/dsdt.asl
===================================================================
--- src/mainboard/amd/tilapia_fam10/dsdt.asl	(revision 5568)
+++ src/mainboard/amd/tilapia_fam10/dsdt.asl	(working copy)
@@ -1406,10 +1406,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1559,29 +1559,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)
Index: src/mainboard/amd/serengeti_cheetah_fam10/acpi/amd8111_isa.asl
===================================================================
--- src/mainboard/amd/serengeti_cheetah_fam10/acpi/amd8111_isa.asl	(revision 5568)
+++ src/mainboard/amd/serengeti_cheetah_fam10/acpi/amd8111_isa.asl	(working copy)
@@ -140,7 +140,7 @@ 
 				Name (BUF0, ResourceTemplate ()
 				{
 					Memory32Fixed (ReadWrite, 0x000E0000, 0x00020000) // BIOS E4000-FFFFF
-					Memory32Fixed (ReadWrite, 0x000C0000, 0x00000000) // video BIOS c0000-c8404
+					Memory32Fixed (ReadWrite, 0x000C0000, 0x00010000) // video BIOS c0000-c8404
 					Memory32Fixed (ReadWrite, 0xFEC00000, 0x00001000) // I/O APIC
 					Memory32Fixed (ReadWrite, 0xFFC00000, 0x00380000) // LPC forwarded, 4 MB w/ROM
 					Memory32Fixed (ReadWrite, 0xFEE00000, 0x00001000) // Local APIC
Index: src/mainboard/amd/serengeti_cheetah_fam10/dsdt.asl
===================================================================
--- src/mainboard/amd/serengeti_cheetah_fam10/dsdt.asl	(revision 5568)
+++ src/mainboard/amd/serengeti_cheetah_fam10/dsdt.asl	(working copy)
@@ -82,9 +82,9 @@ 
 					DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
 						0x00000000, // Address Space Granularity
 						0x000C0000, // Address Range Minimum
-						0x00000000, // Address Range Maximum
+						0x000CFFFF, // Address Range Maximum
 						0x00000000, // Address Translation Offset
-						0x00000000,,,
+						0x00010000,,,
 						, AddressRangeMemory, TypeStatic)   //Video BIOS A0000h-C7FFFh
 
 					Memory32Fixed (ReadWrite, 0x000D8000, 0x00004000)//USB HC D8000-DBFFF
Index: src/mainboard/technexion/tim8690/dsdt.asl
===================================================================
--- src/mainboard/technexion/tim8690/dsdt.asl	(revision 5568)
+++ src/mainboard/technexion/tim8690/dsdt.asl	(working copy)
@@ -1348,10 +1348,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1502,29 +1502,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)
Index: src/mainboard/technexion/tim5690/dsdt.asl
===================================================================
--- src/mainboard/technexion/tim5690/dsdt.asl	(revision 5568)
+++ src/mainboard/technexion/tim5690/dsdt.asl	(working copy)
@@ -1348,10 +1348,10 @@ 
 					Name(_CRS, ResourceTemplate() {
 						DMA(Compatibility,BusMaster,Transfer8){4}
 						IO(Decode16, 0x0000, 0x0000, 0x10, 0x10)
-						IO(Decode16, 0x0081, 0x0081, 0x10, 0x03)
-						IO(Decode16, 0x0087, 0x0087, 0x10, 0x01)
-						IO(Decode16, 0x0089, 0x0089, 0x10, 0x03)
-						IO(Decode16, 0x008F, 0x008F, 0x10, 0x01)
+						IO(Decode16, 0x0081, 0x0081, 0x01, 0x03)
+						IO(Decode16, 0x0087, 0x0087, 0x01, 0x01)
+						IO(Decode16, 0x0089, 0x0089, 0x01, 0x03)
+						IO(Decode16, 0x008F, 0x008F, 0x01, 0x01)
 						IO(Decode16, 0x00C0, 0x00C0, 0x10, 0x20)
 					}) /* End Name(_SB.PCI0.LpcIsaBr.MAD._CRS) */
 				} /* End Device(_SB.PCI0.LpcIsaBr.MAD) */
@@ -1502,29 +1502,29 @@ 
 					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PCBM
 				)
 
 				/* DRAM memory from 4GB to TopMem2 */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
-					0x00000000,		/*  Min */
+					0x00000000,		/* Granularity */
+					0x00000000,		/* Min */
 					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					DMHI
 				)
 
 				/* BIOS space just below 16EB */
 				QWORDMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
-					0xFFFFFFFF,		/* Granularity */
+					0x00000000,		/* Granularity */
 					0x00000000,		/* Min */
-					0x00000000,		/*  Max */
+					0x00000000,		/* Max */
 					0x00000000,		/* Translation */
-					0x00000000,		/* Max-Min, RLEN */
+					0x00000001,		/* Max-Min, RLEN */
 					,,
 					PEBM
 				)