apb: add IOMMU flush register implementation
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Mon, 11 Aug 2014 11:22:52 +0000 (12:22 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 17 Aug 2014 12:13:01 +0000 (13:13 +0100)
commitb87b0644bc04dd88c38cf2eb2f59756d59808204
treeea107b322147b584e3058685f583d861f3183eec
parenta1cf8be550c65d316ad666c778e21773ce113eb8
apb: add IOMMU flush register implementation

The IOMMU flush register is a write-only register used to remove entries from the
hardware TLB. Allow guest writes to this register as a no-op, and return a value
of 0 for reads.

This fixes IOMMU DMA operations under NetBSD SPARC64.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/pci-host/apb.c