vga-pci: add qext region to mmio
commitb5682aa4ca790dbcce16de6dc991c72bc298019a
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 23 Sep 2014 10:45:56 +0000 (23 12:45 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 09:08:35 +0000 (15 11:08 +0200)
treead12a987ca308ceced6296b0a4583927746d2bcd
parentb1d28ec6a7dbdaadda39d29322f0de694aeb0b74
vga-pci: add qext region to mmio

Add a qemu extented register range to the standard vga mmio bar.
Right nowe there are two registers:  One readonly register returning the
size of the region (so we can easily add more registers there if needed)
and one endian control register, so guests (especially ppc) can flip
the framebuffer endianness as they need it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
docs/specs/standard-vga.txt
hw/display/vga-pci.c
include/hw/i386/pc.h