aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga-isa-mm.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-03-13 14:04:18 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-04-16 09:03:49 +0200
commit380cd056ec0e7fc8bbd553cdcb061d3ca612bb82 (patch)
treee8097697817029ca6d545b8f68ba9761fb0f8164 /hw/display/vga-isa-mm.c
parent27be55872dd747c733a42a3d90864d9f59272d26 (diff)
downloadqemu-380cd056ec0e7fc8bbd553cdcb061d3ca612bb82.zip
qemu-380cd056ec0e7fc8bbd553cdcb061d3ca612bb82.tar.gz
qemu-380cd056ec0e7fc8bbd553cdcb061d3ca612bb82.tar.bz2
console: add GraphicHwOps
Pass a single GraphicHwOps struct pointer to graphic_console_init, instead of a bunch of function pointers. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/vga-isa-mm.c')
-rw-r--r--hw/display/vga-isa-mm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/display/vga-isa-mm.c b/hw/display/vga-isa-mm.c
index e177197..2da08a1 100644
--- a/hw/display/vga-isa-mm.c
+++ b/hw/display/vga-isa-mm.c
@@ -135,9 +135,7 @@ int isa_vga_mm_init(hwaddr vram_base,
vga_common_init(&s->vga);
vga_mm_init(s, vram_base, ctrl_base, it_shift, address_space);
- s->vga.con = graphic_console_init(s->vga.update, s->vga.invalidate,
- s->vga.text_update,
- s);
+ s->vga.con = graphic_console_init(s->vga.hw_ops, s);
vga_init_vbe(&s->vga, address_space);
return 0;