mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
exec: Make stl_*_phys input an AddressSpace
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
f606604f1c
commit
ab1da85791
25 changed files with 133 additions and 115 deletions
|
@ -291,7 +291,7 @@ void msi_notify(PCIDevice *dev, unsigned int vector)
|
|||
"notify vector 0x%x"
|
||||
" address: 0x%"PRIx64" data: 0x%"PRIx32"\n",
|
||||
vector, msg.address, msg.data);
|
||||
stl_le_phys(msg.address, msg.data);
|
||||
stl_le_phys(&address_space_memory, msg.address, msg.data);
|
||||
}
|
||||
|
||||
/* Normally called by pci_default_write_config(). */
|
||||
|
|
|
@ -439,7 +439,7 @@ void msix_notify(PCIDevice *dev, unsigned vector)
|
|||
|
||||
msg = msix_get_message(dev, vector);
|
||||
|
||||
stl_le_phys(msg.address, msg.data);
|
||||
stl_le_phys(&address_space_memory, msg.address, msg.data);
|
||||
}
|
||||
|
||||
void msix_reset(PCIDevice *dev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue