]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
vga: factor out vga register setup
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Apr 2016 13:24:18 +0000 (15:24 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 May 2016 17:51:03 +0000 (18:51 +0100)
commit6dc5168d4ae15c641624a4ac3fa8f627647b3c8e
tree298c959746f4076c0406d277f966f016ffd2a14e
parenta54bfb3da1ce619dd37d325e6ad787cb6feb482f
vga: factor out vga register setup

When enabling vbe mode qemu will setup a bunch of vga registers to make
sure the vga emulation operates in correct mode for a linear
framebuffer.  Move that code to a separate function so we can call it
from other places too.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
[Backport to qemu-xen-tradition]
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
hw/vga.c