summaryrefslogtreecommitdiffstats
path: root/hw/display/cirrus_vga_rop2.h
Commit message (Collapse)AuthorAgeFilesLines
* cirrus: fix PUTPIXEL macroGerd Hoffmann2017-03-271-2/+2
| | | | | | | | | | | Should be "c" not "col". The macro is used with "col" as third parameter everywhere, so this tyops doesn't break something. Fixes: 026aeffcb4752054830ba203020ed6eb05bcaba8 Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-id: 1490168303-24588-1-git-send-email-kraxel@redhat.com
* cirrus: stop passing around src pointers in the blitterGerd Hoffmann2017-03-161-18/+20
| | | | | | | | | | | | Does basically the same as "cirrus: stop passing around dst pointers in the blitter", just for the src pointer instead of the dst pointer. For the src we have to care about cputovideo blits though and fetch the data from s->cirrus_bltbuf instead of vga memory. The cirrus_src*() helper functions handle that. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1489584487-3489-1-git-send-email-kraxel@redhat.com
* cirrus: stop passing around dst pointers in the blitterGerd Hoffmann2017-03-161-48/+49
| | | | | | | | | 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: move private headers to hw/ subdirectories.Paolo Bonzini2013-04-081-0/+281
Many headers are used only in a single directory. These can be kept in hw/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>