aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi_ich9.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-12-11 09:42:18 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-01-04 08:51:56 +0100
commit503b19fc5d018f4edc60fb771cf97f47cea71be2 (patch)
tree406b166d87d54d3c18c50aa12d286445bd5d2184 /hw/acpi_ich9.h
parent56e5b2a1a655b9158c0d274a6f630927c9a5fb4b (diff)
apci: assign memory regions to ich9 lpc device
Get rid of get_system_io() usage. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/acpi_ich9.h')
-rw-r--r--hw/acpi_ich9.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/acpi_ich9.h b/hw/acpi_ich9.h
index bc221d3cbc..ecb82abc65 100644
--- a/hw/acpi_ich9.h
+++ b/hw/acpi_ich9.h
@@ -30,9 +30,11 @@ typedef struct ICH9LPCPMRegs {
* PM1a_CNT_BLK = 2 in FADT so it is defined as uint16_t.
*/
ACPIREGS acpi_regs;
+
MemoryRegion io;
MemoryRegion io_gpe;
MemoryRegion io_smi;
+
uint32_t smi_en;
uint32_t smi_sts;
@@ -42,7 +44,7 @@ typedef struct ICH9LPCPMRegs {
Notifier powerdown_notifier;
} ICH9LPCPMRegs;
-void ich9_pm_init(ICH9LPCPMRegs *pm,
+void ich9_pm_init(PCIDevice *lpc_pci, ICH9LPCPMRegs *pm,
qemu_irq sci_irq, qemu_irq cmos_s3_resume);
void ich9_pm_iospace_update(ICH9LPCPMRegs *pm, uint32_t pm_io_base);
extern const VMStateDescription vmstate_ich9_pm;