]> Git Repo - qemu.git/commit
sparc32_dma: remove is_ledma hack and replace with memory region alias
authorMark Cave-Ayland <[email protected]>
Sat, 14 Oct 2017 12:22:22 +0000 (13:22 +0100)
committerMark Cave-Ayland <[email protected]>
Tue, 31 Oct 2017 17:25:36 +0000 (17:25 +0000)
commit4ca3d368d2a66e6e0739fd1cb4552e68d060d337
tree329774e9b810fd31a28f1c6e8c9c187f911aa280
parent6aa62ed6b8cef3623083b1a90cecfb854f7c4a79
sparc32_dma: remove is_ledma hack and replace with memory region alias

This hack originated from before the memory region API was introduced, and
increased the size of the ledma DMA device to capture incorrect accesses
beyond the end of the ledma device. A full analysis can be found on Artyom's
blog at http://tyom.blogspot.co.uk/2010/10/bug-in-all-solaris-versions-after-57.html.

With the memory API we can now simply alias the incorrect access onto its
intended destination allowing us to remove the hack.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Artyom Tarasenko <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
hw/dma/sparc32_dma.c
include/hw/sparc/sparc32_dma.h
This page took 0.025799 seconds and 4 git commands to generate.