From df9ffb726ff13f850b8829be1bc85ed621b903ac Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 12 Nov 2012 12:40:46 +0100 Subject: 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 --- docs/specs/standard-vga.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/specs/standard-vga.txt b/docs/specs/standard-vga.txt index 1cecccd..8a4c1e9 100644 --- a/docs/specs/standard-vga.txt +++ b/docs/specs/standard-vga.txt @@ -36,7 +36,8 @@ IO ports used 03c0 - 03df : standard vga ports 01ce : bochs vbe interface index port -01cf : bochs vbe interface data port +01cf : bochs vbe interface data port (x86 only) +01d0 : bochs vbe interface data port Memory regions used -- cgit v1.1