diff options
author | Blue Swirl | 2010-01-12 21:04:53 +0100 |
---|---|---|
committer | Blue Swirl | 2010-01-12 21:04:53 +0100 |
commit | 3eb26cc2167e771c49f7a20f70d07d61d327c1ef (patch) | |
tree | c9a48d2a791e4b83f94dbe16f8f0348971decfd5 /hw/apb_pci.c | |
parent | tcg-sparc: Implement ext32[su]_i64 (diff) | |
download | qemu-3eb26cc2167e771c49f7a20f70d07d61d327c1ef.tar.gz qemu-3eb26cc2167e771c49f7a20f70d07d61d327c1ef.tar.xz qemu-3eb26cc2167e771c49f7a20f70d07d61d327c1ef.zip |
Sparc64: Fix PCI config accessor order
Fix by Igor Kovalenko.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/apb_pci.c')
-rw-r--r-- | hw/apb_pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c index c14e1c06b7..b612b0f7a1 100644 --- a/hw/apb_pci.c +++ b/hw/apb_pci.c @@ -169,15 +169,15 @@ static uint32_t apb_pci_config_readb(void *opaque, target_phys_addr_t addr) } static CPUWriteMemoryFunc * const apb_pci_config_writes[] = { - &apb_pci_config_writel, - &apb_pci_config_writew, &apb_pci_config_writeb, + &apb_pci_config_writew, + &apb_pci_config_writel, }; static CPUReadMemoryFunc * const apb_pci_config_reads[] = { - &apb_pci_config_readl, - &apb_pci_config_readw, &apb_pci_config_readb, + &apb_pci_config_readw, + &apb_pci_config_readl, }; static void pci_apb_iowriteb (void *opaque, target_phys_addr_t addr, |