]> git.ipfire.org Git - thirdparty/qemu.git/commit
vga: factor out vga register setup
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Apr 2016 13:24:18 +0000 (15:24 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 9 May 2016 01:56:38 +0000 (20:56 -0500)
commit2f2f74e87c15e830f5a4dda7a166effcab5047ec
treed1d56d3eeeeb75fd79c9326d890a8ef97fd152fa
parent46aff2c7e91ef9f372ad38ba5e90c42b9b27ac75
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>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/display/vga.c