diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2013-12-17 14:33:56 +1000 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2014-02-11 22:57:06 +1000 |
commit | 41701aa4ee11aafebb696c2e778ce0e57bcfc84f (patch) | |
tree | e907e263d16a6fd4170b86310e8ea21fa0cf055e /hw/net | |
parent | 2c17449b3022ca9623c4a7e2a504a4150ac4ad30 (diff) |
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>
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/vmware_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/vmware_utils.h b/hw/net/vmware_utils.h index eb98d2af86..7877cb6311 100644 --- a/hw/net/vmware_utils.h +++ b/hw/net/vmware_utils.h @@ -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; } |