summaryrefslogtreecommitdiff
path: root/hw/display/vga_int.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-10-11 19:56:59 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-04-28 10:21:55 +0200
commite2bbfc8ee2aa82519da7de281305c3bea5431cf1 (patch)
treeeff43085ec85a0b45228134ce0d6dd90be36bf35 /hw/display/vga_int.h
parent411f491e0af173cf8f39347574941bd26fbae381 (diff)
downloadqemu-e2bbfc8ee2aa82519da7de281305c3bea5431cf1.tar.gz
vga: allow non-global vmstate
Need a way to opt-out from vga.vram being global vmstate, for secondary vga cards. Add a bool parameter to vga_common_init to support this. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/vga_int.h')
-rw-r--r--hw/display/vga_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h
index e6418906a7..d42ac926e3 100644
--- a/hw/display/vga_int.h
+++ b/hw/display/vga_int.h
@@ -177,7 +177,7 @@ static inline int c6_to_8(int v)
return (v << 2) | (b << 1) | b;
}
-void vga_common_init(VGACommonState *s, Object *obj);
+void vga_common_init(VGACommonState *s, Object *obj, bool global_vmstate);
void vga_init(VGACommonState *s, Object *obj, MemoryRegion *address_space,
MemoryRegion *address_space_io, bool init_vga_ports);
MemoryRegion *vga_init_io(VGACommonState *s, Object *obj,