diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-12-15 20:26:03 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2009-12-23 16:35:00 +0200 |
commit | a40e3411d199c43ea1eb837da642829d6a2d0148 (patch) | |
tree | 3dca8ed3ca1a59c672c3cea9c2f10d41197fdbd6 /hw | |
parent | e0fe0204416b9ea2936ffba69bdd26b2a5c9da02 (diff) | |
download | qemu-a40e3411d199c43ea1eb837da642829d6a2d0148.zip qemu-a40e3411d199c43ea1eb837da642829d6a2d0148.tar.gz qemu-a40e3411d199c43ea1eb837da642829d6a2d0148.tar.bz2 |
acpi: use range helper function.
use range helper function in pm_write_config().
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -437,7 +437,7 @@ static void pm_write_config(PCIDevice *d, uint32_t address, uint32_t val, int len) { pci_default_write_config(d, address, val, len); - if (address == 0x80) + if (range_covers_byte(address, len, 0x80)) pm_io_space_update((PIIX4PMState *)d); } |