mirror of https://gitee.com/openkylin/qemu.git
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:
parent
c5d29d2fec
commit
ae5d3eb474
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue