mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
vga: compile cirrus_vga in hwlib
Remove target dependencies and compile Cirrus VGA in hwlib. Address masking can be removed since memory API handles that now. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
fd4aa97903
commit
331636431a
3 changed files with 1 additions and 4 deletions
|
@ -618,7 +618,6 @@ static void cirrus_invalidate_region(CirrusVGAState * s, int off_begin,
|
|||
for (y = 0; y < lines; y++) {
|
||||
off_cur = off_begin;
|
||||
off_cur_end = (off_cur + bytesperline) & s->cirrus_addr_mask;
|
||||
off_cur &= TARGET_PAGE_MASK;
|
||||
memory_region_set_dirty(&s->vga.vram, off_cur, off_cur_end - off_cur);
|
||||
off_begin += off_pitch;
|
||||
}
|
||||
|
@ -1897,8 +1896,6 @@ static void cirrus_mmio_blt_write(CirrusVGAState * s, unsigned address,
|
|||
*
|
||||
* write mode 4/5
|
||||
*
|
||||
* assume TARGET_PAGE_SIZE >= 16
|
||||
*
|
||||
***************************************/
|
||||
|
||||
static void cirrus_mem_writeb_mode4and5_8bpp(CirrusVGAState * s,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue