diff options
author | Igor Mammedov <imammedo@redhat.com> | 2015-02-20 18:22:11 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-03-01 12:33:22 +0100 |
commit | 1142e45ffdc5bf76ae920a25495e13223f5d5ed2 (patch) | |
tree | ff1e161056fc115cb3dbe24ce24d67a5ebe2e12b /hw/i386 | |
parent | 7056045332b997a8cd298e3bf231ecf690accdf4 (diff) | |
download | qemu-1142e45ffdc5bf76ae920a25495e13223f5d5ed2.zip qemu-1142e45ffdc5bf76ae920a25495e13223f5d5ed2.tar.gz qemu-1142e45ffdc5bf76ae920a25495e13223f5d5ed2.tar.bz2 |
pc: export applesmc IO port/len
IO port and length will be used in following patch
to correctly generate SMC ACPI device in SSDT.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/acpi-build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 01d988c..badfa73 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -145,7 +145,7 @@ static void acpi_get_dsdt(AcpiMiscInfo *info) /* Patch in appropriate value for AppleSMC _STA */ *(uint8_t *)(info->dsdt_code + *applesmc_sta) = - applesmc_find() ? 0x0b : 0x00; + applesmc_port() ? 0x0b : 0x00; } static |