aboutsummaryrefslogtreecommitdiff
path: root/hw/msix.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-07-05 18:28:06 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-07-12 20:00:29 +0000
commitae5d3eb4745dbcc38a4d6bbaff563f4c2d0e7a16 (patch)
tree8695e02c86d4cb0193133ae24469de705dd80d12 /hw/msix.c
parentc5d29d2fecff299d4b65bfd5546d58915d8e25e0 (diff)
msix: use specific endian ld/st_phys
Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/msix.c')
-rw-r--r--hw/msix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/msix.c b/hw/msix.c
index 03d7becaaf..e67e700a33 100644
--- a/hw/msix.c
+++ b/hw/msix.c
@@ -359,7 +359,7 @@ void msix_notify(PCIDevice *dev, unsigned vector)
address = pci_get_quad(table_entry + PCI_MSIX_ENTRY_LOWER_ADDR);
data = pci_get_long(table_entry + PCI_MSIX_ENTRY_DATA);
- stl_phys(address, data);
+ stl_le_phys(address, data);
}
void msix_reset(PCIDevice *dev)