aboutsummaryrefslogtreecommitdiff
path: root/hw/soc_dma.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 14:29:45 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 14:29:45 +0000
commit5c130f659b20d53667e07957ebaa3e656f72b276 (patch)
tree1fce52bae1cfdb3f46599277634769cd50782cb0 /hw/soc_dma.h
parentd397abbdbe68715ec86b4392e4e6384db64d029d (diff)
Yet more phys_ram_base elimination.
Signed-off-by: Paul Brook <paul@cofdesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7067 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/soc_dma.h')
-rw-r--r--hw/soc_dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/soc_dma.h b/hw/soc_dma.h
index 47bc4ea269..34b01d909a 100644
--- a/hw/soc_dma.h
+++ b/hw/soc_dma.h
@@ -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);
}