aboutsummaryrefslogtreecommitdiff
path: root/hw/net/vmware_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/vmware_utils.h')
-rw-r--r--hw/net/vmware_utils.h2
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;
}