diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-30 14:46:53 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-21 11:14:38 +0300 |
commit | 90aeba9dac1e99bfbe2d44867ec44b32b0780577 (patch) | |
tree | e52b77a2a90a4c4f9af84d3242ce3129dede56df /hw/soc_dma.h | |
parent | 9898b79abe32c5521ef365207d8a1db6c3a6e206 (diff) | |
download | qemu-90aeba9dac1e99bfbe2d44867ec44b32b0780577.tar.gz qemu-90aeba9dac1e99bfbe2d44867ec44b32b0780577.tar.bz2 qemu-90aeba9dac1e99bfbe2d44867ec44b32b0780577.zip |
soc_dma: drop soc_dma_port_add_mem_ram()
It's a trivial wrapper for soc_dma_port_add_mem(), which makes
the memory API conversion more difficult because it takes a ram
addr_t. Drop.
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/soc_dma.h')
-rw-r--r-- | hw/soc_dma.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/soc_dma.h b/hw/soc_dma.h index c0ebb8d715..026479ef29 100644 --- a/hw/soc_dma.h +++ b/hw/soc_dma.h @@ -105,9 +105,3 @@ static inline void soc_dma_port_add_fifo_out(struct soc_dma_s *dma, { return soc_dma_port_add_fifo(dma, virt_base, fn, opaque, 1); } - -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, qemu_get_ram_ptr(offset), virt_base, size); -} |