diff options
author | Gabriel L. Somlo <gsomlo@gmail.com> | 2014-01-13 15:27:13 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-01-26 13:06:48 +0200 |
commit | 8977557ae418f9b9ff5c35ee39161a33f2368e6a (patch) | |
tree | 7708ac8549c90848454e298d8d942a650e174251 /hw/i386/acpi-dsdt-isa.dsl | |
parent | 15bce1b7c55c69f47e13c9eb2a4b80f41da26581 (diff) |
ACPI: Fix AppleSMC _STA size
Minimize the storage used for AppleSMC's _STA (8bit), relying on ASL
to implicitly convert it to the officially specified 32bit value.
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/acpi-dsdt-isa.dsl')
-rw-r--r-- | hw/i386/acpi-dsdt-isa.dsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/i386/acpi-dsdt-isa.dsl b/hw/i386/acpi-dsdt-isa.dsl index 46942c12aa..deb37de92e 100644 --- a/hw/i386/acpi-dsdt-isa.dsl +++ b/hw/i386/acpi-dsdt-isa.dsl @@ -19,8 +19,8 @@ Scope(\_SB.PCI0.ISA) { Device (SMC) { Name(_HID, EisaId("APP0001")) /* _STA will be patched to 0x0B if AppleSMC is present */ - ACPI_EXTRACT_NAME_WORD_CONST DSDT_APPLESMC_STA - Name(_STA, 0xFF00) + ACPI_EXTRACT_NAME_BYTE_CONST DSDT_APPLESMC_STA + Name(_STA, 0xF0) Name(_CRS, ResourceTemplate () { IO (Decode16, 0x0300, 0x0300, 0x01, 0x20) IRQNoFlags() { 6 } |