Browse Source

msix: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Alexander Graf 14 years ago
parent
commit
ae5d3eb474
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hw/msix.c

+ 1 - 1
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);
     address = pci_get_quad(table_entry + PCI_MSIX_ENTRY_LOWER_ADDR);
     data = pci_get_long(table_entry + PCI_MSIX_ENTRY_DATA);
     data = pci_get_long(table_entry + PCI_MSIX_ENTRY_DATA);
-    stl_phys(address, data);
+    stl_le_phys(address, data);
 }
 }
 
 
 void msix_reset(PCIDevice *dev)
 void msix_reset(PCIDevice *dev)