From a917d384ac0d09cd68266a6f2ca5c94212c8f81e Mon Sep 17 00:00:00 2001 From: pbrook Date: Tue, 29 Aug 2006 04:52:16 +0000 Subject: SCSI TCQ support. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2139 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/sun4m.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'hw/sun4m.c') diff --git a/hw/sun4m.c b/hw/sun4m.c index 203732f216..09a157c0a7 100644 --- a/hw/sun4m.c +++ b/hw/sun4m.c @@ -199,6 +199,18 @@ uint32_t iommu_translate(uint32_t addr) return iommu_translate_local(iommu, addr); } +void sparc_iommu_memory_read(target_phys_addr_t addr, + uint8_t *buf, int len) +{ + return sparc_iommu_memory_rw_local(iommu, addr, buf, len, 0); +} + +void sparc_iommu_memory_write(target_phys_addr_t addr, + uint8_t *buf, int len) +{ + return sparc_iommu_memory_rw_local(iommu, addr, buf, len, 1); +} + static void *slavio_misc; void qemu_system_powerdown(void) -- cgit v1.2.3