]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.git/commit
vga: factor out vga register setup
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Apr 2016 13:24:18 +0000 (15:24 +0200)
committerAnthony PERARD <anthony.perard@citrix.com>
Tue, 10 May 2016 10:43:30 +0000 (11:43 +0100)
commiteb3b47943a27152b0ff62a6a8736648304139029
tree998ae7df23422c55b461bc17a1edb66f02fac07e
parent915674299f076729dd4f392b907fa6e59377dcf2
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/display/vga.c