]> xenbits.xensource.com Git - seabios.git/commitdiff
DSDT: Fix HPET _CRS Method
authorGabriel L. Somlo <gsomlo@gmail.com>
Thu, 8 Nov 2012 17:35:17 +0000 (12:35 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 20 Nov 2012 03:12:55 +0000 (22:12 -0500)
Updated _CRS method for HPET, bringing it in line with the way it is
presented on recent hardware (e.g. Dell Latitude D630, MacPro5,1, etc);
Allows it to be detected and utilized from Mac OS X; Also tested OK on
Linux (F16 64-bit install DVD) and Windows (Win7 64-bit install DVD).

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
src/acpi-dsdt.dsl

index 284d70de6f478655c008f80f5da78d939f8c0910..711302eced7ccb2026d69efd3ea4139a4adefa3e 100644 (file)
@@ -269,15 +269,11 @@ DefinitionBlock (
                     Return (0x0F)
             }
             Name(_CRS, ResourceTemplate() {
-                DWordMemory(
-                    ResourceConsumer, PosDecode, MinFixed, MaxFixed,
-                    NonCacheable, ReadWrite,
-                    0x00000000,
-                    0xFED00000,
-                    0xFED003FF,
-                    0x00000000,
-                    0x00000400 /* 1K memory: FED00000 - FED003FF */
-                )
+                IRQNoFlags () {2, 8}
+                Memory32Fixed (ReadOnly,
+                    0xFED00000,         // Address Base
+                    0x00000400,         // Address Length
+                    )
             })
         }
     }