4 #include "qemu-common.h"
5 #include "exec/hwaddr.h"
6 #include "qapi/qmp/types.h"
8 /* Devices used by sparc32 system. */
11 void sparc_iommu_memory_rw(void *opaque
, hwaddr addr
,
12 uint8_t *buf
, int len
, int is_write
);
13 static inline void sparc_iommu_memory_read(void *opaque
,
15 uint8_t *buf
, int len
)
17 sparc_iommu_memory_rw(opaque
, addr
, buf
, len
, 0);
20 static inline void sparc_iommu_memory_write(void *opaque
,
22 uint8_t *buf
, int len
)
24 sparc_iommu_memory_rw(opaque
, addr
, buf
, len
, 1);
28 #include "hw/sparc/sparc32_dma.h"