mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
exec: Make lduw_*_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
2c17449b30
commit
41701aa4ee
10 changed files with 48 additions and 44 deletions
|
@ -80,7 +80,7 @@ vmw_shmem_st8(hwaddr addr, uint8_t value)
|
|||
static inline uint32_t
|
||||
vmw_shmem_ld16(hwaddr addr)
|
||||
{
|
||||
uint16_t res = lduw_le_phys(addr);
|
||||
uint16_t res = lduw_le_phys(&address_space_memory, addr);
|
||||
VMW_SHPRN("SHMEM load16: %" PRIx64 " (value 0x%X)", addr, res);
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue