diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-10 14:29:45 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-10 14:29:45 +0000 |
commit | 5c130f659b20d53667e07957ebaa3e656f72b276 (patch) | |
tree | 1fce52bae1cfdb3f46599277634769cd50782cb0 /hw/soc_dma.h | |
parent | d397abbdbe68715ec86b4392e4e6384db64d029d (diff) | |
download | qemu-5c130f659b20d53667e07957ebaa3e656f72b276.zip qemu-5c130f659b20d53667e07957ebaa3e656f72b276.tar.gz qemu-5c130f659b20d53667e07957ebaa3e656f72b276.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/soc_dma.h b/hw/soc_dma.h index 47bc4ea..34b01d9 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); } |