diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2017-10-27 13:09:03 +0100 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2017-10-31 17:25:37 +0000 |
commit | 3cc71c7992704c595b9945fe98fdc4d2d08ce48c (patch) | |
tree | f30620abcd654cf9f86ac8ffe474f1c439b39ab6 /include | |
parent | c413e9a426e263816dd2c11c62589e0532bcf7e9 (diff) | |
download | qemu-3cc71c7992704c595b9945fe98fdc4d2d08ce48c.zip qemu-3cc71c7992704c595b9945fe98fdc4d2d08ce48c.tar.gz qemu-3cc71c7992704c595b9945fe98fdc4d2d08ce48c.tar.bz2 |
sun4m_iommu: remove legacy sparc_iommu_memory_rw() function
With the switch to the IOMMU memory region and DMA API, this is no longer
required.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/sparc/sun4m.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/hw/sparc/sun4m.h b/include/hw/sparc/sun4m.h index 6e21e10..c2d0448 100644 --- a/include/hw/sparc/sun4m.h +++ b/include/hw/sparc/sun4m.h @@ -29,22 +29,6 @@ typedef struct IOMMUState { uint32_t version; } IOMMUState; -void sparc_iommu_memory_rw(void *opaque, hwaddr addr, - uint8_t *buf, int len, int is_write); -static inline void sparc_iommu_memory_read(void *opaque, - hwaddr addr, - uint8_t *buf, int len) -{ - sparc_iommu_memory_rw(opaque, addr, buf, len, 0); -} - -static inline void sparc_iommu_memory_write(void *opaque, - hwaddr addr, - uint8_t *buf, int len) -{ - sparc_iommu_memory_rw(opaque, addr, buf, len, 1); -} - /* sparc32_dma.c */ #include "hw/sparc/sparc32_dma.h" |