aboutsummaryrefslogtreecommitdiff
path: root/hw/net/vmware_utils.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2013-12-17 15:22:06 +1000
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2014-02-11 22:57:32 +1000
commit5ce5944dc0ffdc43c11b5cad11e526f699aabe4c (patch)
tree5969aafd8a4716d4bc43422711c38b8182a13bc5 /hw/net/vmware_utils.h
parent2198a121434b806636318d62c89595c1955e825a (diff)
exec: Make stw_*_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/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 2ed73afbb0..d8f734f2f4 100644
--- a/hw/net/vmware_utils.h
+++ b/hw/net/vmware_utils.h
@@ -89,7 +89,7 @@ static inline void
vmw_shmem_st16(hwaddr addr, uint16_t value)
{
VMW_SHPRN("SHMEM store16: %" PRIx64 " (value 0x%X)", addr, value);
- stw_le_phys(addr, value);
+ stw_le_phys(&address_space_memory, addr, value);
}
static inline uint32_t