cirrus: stop passing around dst pointers in the blitter
commit026aeffcb4752054830ba203020ed6eb05bcaba8
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Mar 2017 10:47:52 +0000 (15 11:47 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 16 Mar 2017 07:58:15 +0000 (16 08:58 +0100)
tree01df55352ecf53e4819182b1f1e98b3144d8a1bb
parente048dac616748273c2153490e9fdf1da242f0cad
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
hw/display/cirrus_vga.c
hw/display/cirrus_vga_rop.h
hw/display/cirrus_vga_rop2.h