msi: 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:05 +02:00 committed by Blue Swirl
parent 6c7796e5c1
commit c5d29d2fec
1 changed files with 1 additions and 1 deletions

View File

@ -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(). */