]> git.ipfire.org Git - thirdparty/qemu.git/commit
cirrus: stop passing around dst pointers in the blitter
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Mar 2017 10:47:52 +0000 (11:47 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 21 Mar 2017 20:03:29 +0000 (15:03 -0500)
commit031700e4527b9e05798f7040dccdf638da27aee2
tree3b591fdbaa2f27bf94e20db9f084bbdaca0402b5
parent2f51fd1f739cccc991b4e08afcc6e9dbcdbb9a3e
cirrus: stop passing around dst pointers in the blitter

Instead pass around the address (aka offset into vga memory).  Calculate
the pointer in the rop_* functions, after applying the mask to the
address, to make sure the address stays within the valid range.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1489574872-8679-1-git-send-email-kraxel@redhat.com
(cherry picked from commit 026aeffcb4752054830ba203020ed6eb05bcaba8)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/display/cirrus_vga.c
hw/display/cirrus_vga_rop.h
hw/display/cirrus_vga_rop2.h