]> git.proxmox.com Git - mirror_qemu.git/commit - hw/apm.c
hw/apm.c: Replace register_ioport_*
authorJulien Grall <julien.grall@citrix.com>
Wed, 19 Sep 2012 11:50:03 +0000 (12:50 +0100)
committerAndreas Färber <afaerber@suse.de>
Tue, 4 Dec 2012 13:50:21 +0000 (14:50 +0100)
commit42d8a3cf960659069bd2b2d9c443dafd7585607f
tree1cf71873d173a05758a02ed859270a09602cbec0
parentac10027327e27c9b360452e01af3ef2147f5a26f
hw/apm.c: Replace register_ioport_*

Replace all register_ioport_*() with a MemoryRegion.
This permits to use the new Memory stuff like listeners.

Moreover, the PCI device is added as an argument for apm_init(),
so we can register IO inside the PCI IO address space.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Avi Kivity <avi@redhat.com>
[AF: Rebased onto hwaddr and q35]
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/acpi_piix4.c
hw/apm.c
hw/apm.h
hw/lpc_ich9.c
hw/vt82c686.c