]> Git Repo - qemu.git/blobdiff - hw/net/vmware_utils.h
exec: Make stb_phys input an AddressSpace
[qemu.git] / hw / net / vmware_utils.h
index 2ed73afbb0ea68b78155ca4c02f8a5efe02cc4fa..1099df669dae389b64461751d74b0990fc05ba48 100644 (file)
@@ -74,7 +74,7 @@ static inline void
 vmw_shmem_st8(hwaddr addr, uint8_t value)
 {
     VMW_SHPRN("SHMEM store8: %" PRIx64 " (value 0x%X)", addr, value);
-    stb_phys(addr, value);
+    stb_phys(&address_space_memory, addr, value);
 }
 
 static inline uint32_t
@@ -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
This page took 0.023857 seconds and 4 git commands to generate.