aboutsummaryrefslogtreecommitdiff
path: root/hw/msi.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-07-05 18:28:05 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-07-12 20:00:28 +0000
commitc5d29d2fecff299d4b65bfd5546d58915d8e25e0 (patch)
treef38ede3ac2ef671bf5b2ceee3888063f8b431dd8 /hw/msi.c
parent6c7796e5c17bc23d0add756b5248fcf419e999a9 (diff)
downloadqemu-c5d29d2fecff299d4b65bfd5546d58915d8e25e0.zip
qemu-c5d29d2fecff299d4b65bfd5546d58915d8e25e0.tar.gz
qemu-c5d29d2fecff299d4b65bfd5546d58915d8e25e0.tar.bz2
msi: 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/msi.c')
-rw-r--r--hw/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/msi.c b/hw/msi.c
index e8c5607..f214fcf 100644
--- a/hw/msi.c
+++ b/hw/msi.c
@@ -249,7 +249,7 @@ void msi_notify(PCIDevice *dev, unsigned int vector)
"notify vector 0x%x"
" address: 0x%"PRIx64" data: 0x%"PRIx32"\n",
vector, address, data);
- stl_phys(address, data);
+ stl_le_phys(address, data);
}
/* call this function after updating configs by pci_default_write_config(). */