qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 4/9] msi: use specific endian ld/st_phys


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 4/9] msi: use specific endian ld/st_phys
Date: Tue, 5 Jul 2011 18:28:05 +0200

Signed-off-by: Alexander Graf <address@hidden>
---
 hw/msi.c |    2 +-
 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(). */
-- 
1.7.3.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]