search for: vga_draw_graph

Displaying 2 results from an estimated 2 matches for "vga_draw_graph".

Did you mean: vga_draw_graphic
2006 Jul 17
0
(no subject)
...rtx" will cause qemu dm die, this patch fixes it. Signed-off-by: Xin Li <xin.b.li@intel.com> diff -r ecb8ff1fcf1f tools/ioemu/hw/vga.c --- a/tools/ioemu/hw/vga.c Fri Jul 14 18:53:27 2006 +0100 +++ b/tools/ioemu/hw/vga.c Mon Jul 17 22:35:54 2006 +0800 @@ -1392,7 +1392,8 @@ static void vga_draw_graphic(VGAState *s static void vga_draw_graphic(VGAState *s, int full_update) { int y1, y, update, page_min, page_max, linesize, y_start, double_scan, mask; - int width, height, shift_control, line_offset, page0, page1, bwidth; + int width, height, shift_control, line_offset, bwidth; + r...
2006 Mar 16
0
[PATCH 3a/3] Add shadow VRAM
...) >= 0) { + if (_mm_movemask_epi8(_mm_cmpeq_epi8(*sp, *vp)) != 0xffff) { + while (n >= 0) { + _mm_store_si128(sp++, _mm_load_si128(vp++)); + n -= sizeof(*vp); + } + return 1; + } + sp++; + vp++; + } + return 0; +} + /* * graphic modes */ @@ -1434,6 +1514,9 @@ static void vga_draw_graphic(VGAState *s printf("w=%d h=%d v=%d line_offset=%d cr[0x09]=0x%02x cr[0x17]=0x%02x linecmp=%d sr[0x01]=0x%02x\n", width, height, v, line_offset, s->cr[9], s->cr[0x17], s->line_compare, s->sr[0x01]); #endif + for (y = 0; y < s->vram_size; y += TARGET...