]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
vga: factor out vga register setup
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 4 May 2016 16:42:24 +0000 (17:42 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Tue, 10 May 2016 10:51:57 +0000 (11:51 +0100)
commit7073ff0127babd7d8b35326cf50753b337b23bb0
tree5428f5d0896d59bbcd567dad4acc7ec93e96dd68
parent856e1ebb1fcc44856ef682e31295310a29e66ffd
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.

upstream-commit-id: 7fa5c2c5dc9f9bf878c1e8669eb9644d70a71e71

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/vga.c