]> Git Repo - qemu.git/blobdiff - hw/soc_dma.h
Add dummy command to submakefiles
[qemu.git] / hw / soc_dma.h
index 47bc4ea2690d28cd67472a8d0174b220c7121c1f..34b01d909a552c4c1caac7264af8fc78d3ec8aae 100644 (file)
@@ -110,5 +110,5 @@ static inline void soc_dma_port_add_fifo_out(struct soc_dma_s *dma,
 static inline void soc_dma_port_add_mem_ram(struct soc_dma_s *dma,
                 ram_addr_t offset, target_phys_addr_t virt_base, size_t size)
 {
-    return soc_dma_port_add_mem(dma, phys_ram_base + offset, virt_base, size);
+    return soc_dma_port_add_mem(dma, qemu_get_ram_ptr(offset), virt_base, size);
 }
This page took 0.024497 seconds and 4 git commands to generate.