mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
exec: Make ldl_*_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
33bde2e13f
commit
fdfba1a298
30 changed files with 186 additions and 145 deletions
|
@ -95,7 +95,7 @@ vmw_shmem_st16(hwaddr addr, uint16_t value)
|
|||
static inline uint32_t
|
||||
vmw_shmem_ld32(hwaddr addr)
|
||||
{
|
||||
uint32_t res = ldl_le_phys(addr);
|
||||
uint32_t res = ldl_le_phys(&address_space_memory, addr);
|
||||
VMW_SHPRN("SHMEM load32: %" PRIx64 " (value 0x%X)", addr, res);
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue