Revision bd8f2f5d hw/cirrus_vga.c
b/hw/cirrus_vga.c | ||
---|---|---|
2441 | 2441 |
VGACommonState *s = &c->vga; |
2442 | 2442 |
int val, index; |
2443 | 2443 |
|
2444 |
qemu_flush_coalesced_mmio_buffer(); |
|
2445 |
|
|
2444 | 2446 |
if (vga_ioport_invalid(s, addr)) { |
2445 | 2447 |
val = 0xff; |
2446 | 2448 |
} else { |
... | ... | |
2534 | 2536 |
VGACommonState *s = &c->vga; |
2535 | 2537 |
int index; |
2536 | 2538 |
|
2539 |
qemu_flush_coalesced_mmio_buffer(); |
|
2540 |
|
|
2537 | 2541 |
/* check port range access depending on color/monochrome mode */ |
2538 | 2542 |
if (vga_ioport_invalid(s, addr)) { |
2539 | 2543 |
return; |
... | ... | |
2854 | 2858 |
/* I/O handler for LFB */ |
2855 | 2859 |
memory_region_init_io(&s->cirrus_linear_io, &cirrus_linear_io_ops, s, |
2856 | 2860 |
"cirrus-linear-io", VGA_RAM_SIZE); |
2861 |
memory_region_set_flush_coalesced(&s->cirrus_linear_io); |
|
2857 | 2862 |
|
2858 | 2863 |
/* I/O handler for LFB */ |
2859 | 2864 |
memory_region_init_io(&s->cirrus_linear_bitblt_io, |
... | ... | |
2861 | 2866 |
s, |
2862 | 2867 |
"cirrus-bitblt-mmio", |
2863 | 2868 |
0x400000); |
2869 |
memory_region_set_flush_coalesced(&s->cirrus_linear_bitblt_io); |
|
2864 | 2870 |
|
2865 | 2871 |
/* I/O handler for memory-mapped I/O */ |
2866 | 2872 |
memory_region_init_io(&s->cirrus_mmio_io, &cirrus_mmio_io_ops, s, |
2867 | 2873 |
"cirrus-mmio", CIRRUS_PNPMMIO_SIZE); |
2874 |
memory_region_set_flush_coalesced(&s->cirrus_mmio_io); |
|
2868 | 2875 |
|
2869 | 2876 |
s->real_vram_size = |
2870 | 2877 |
(s->device_id == CIRRUS_ID_CLGD5446) ? 4096 * 1024 : 2048 * 1024; |
Also available in: Unified diff