]> git.proxmox.com Git - qemu.git/commit
vga: fix bochs alignment issue
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 12 Nov 2012 11:40:46 +0000 (12:40 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 16 Nov 2012 10:27:06 +0000 (11:27 +0100)
commitdf9ffb726ff13f850b8829be1bc85ed621b903ac
tree6efef30636c19ec2de30f42826d3f88db6fd4079
parent6801038bc52d61f81ac8a25fbe392f1bad982887
vga: fix bochs alignment issue

The bochs dispi interface traditionally uses port 0x1ce as 16bit index
register and port 0x1cf as 16bit data register.  The later is unaligned,
and probably for that reason the the data register was moved to 0x1d0
for non-x86 archs.

This patch makes the data register available at 0x1d0 on x86 too.  The
old x86 location is kept for compatibility reasons, so both 0x1cf and
0x1d0 can be used as data register on x86.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
docs/specs/standard-vga.txt
hw/vga.c