msix: use specific endian ld/st_phys

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Alexander Graf 2011-07-05 18:28:06 +02:00 committed by Blue Swirl
parent c5d29d2fec
commit ae5d3eb474
1 changed files with 1 additions and 1 deletions

View File

@ -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)