kernel-ark/arch/x86/boot
H. Peter Anvin 5f64135612 x86, setup: fix the setting of 480-line VGA modes
Impact: fix rarely-used feature

The VGA Miscellaneous Output Register is read from address 0x3CC but
written to address 0x3C2.  This was missed when this code was
converted from assembly to C.  While we're at it, clean up the code by
making the overflow bits and the math used to set the bits explicit.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2009-03-18 16:54:05 -07:00
..
compressed Merge branches 'x86/apic', 'x86/cpu', 'x86/fixmap', 'x86/mm', 'x86/sched', 'x86/setup-lzma', 'x86/signal' and 'x86/urgent' into x86/core 2009-03-04 02:22:31 +01:00
tools x86: remove zImage support 2009-03-11 11:00:00 -07:00
.gitignore Update .gitignore files 2008-04-25 12:27:32 -07:00
a20.c x86: remove the Voyager 32-bit subarch 2009-02-23 00:54:01 +01:00
apm.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00
bitops.h x86: remove pointless comments 2008-04-19 19:19:54 +02:00
boot.h x86: remove the Voyager 32-bit subarch 2009-02-23 00:54:01 +01:00
cmdline.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00
code16gcc.h
copy.S x86: copy.S - use GLOBAL,ENDPROC macros 2009-02-19 17:13:00 +01:00
cpu.c x86 setup: handle more than 8 CPU flag words 2008-09-16 15:09:26 -07:00
cpucheck.c x86: boot: stub out unimplemented CPU feature words 2008-09-05 16:13:44 -07:00
edd.c Revert "x86: fix ghost EDD devices in /sys again" 2008-10-03 10:22:33 -07:00
header.S x86: remove zImage support 2009-03-11 11:00:00 -07:00
install.sh x86: remove pointless comments 2008-04-19 19:19:54 +02:00
main.c x86: remove the Voyager 32-bit subarch 2009-02-23 00:54:01 +01:00
Makefile x86: use targets in the boot Makefile instead of CLEAN_FILES 2009-03-12 13:43:14 -07:00
mca.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00
memory.c x86: fix build warnings in real mode code 2008-08-18 09:20:14 +02:00
mkcpustr.c x86 setup: handle more than 8 CPU flag words 2008-09-16 15:09:26 -07:00
mtools.conf.in
pm.c x86: remove zImage support 2009-03-11 11:00:00 -07:00
pmjump.S x86, setup: move 32-bit code to .text32 2009-03-17 15:26:06 -07:00
printf.c x86: boot/printfc use NULL instead 0 2008-05-25 08:58:25 +02:00
setup.ld x86, setup: move 32-bit code to .text32 2009-03-17 15:26:06 -07:00
string.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00
tty.c x86: use limited register constraint for setnz 2008-11-25 15:38:03 +01:00
version.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00
vesa.h
video-bios.c x86: make variables static 2008-10-22 07:31:28 +02:00
video-mode.c x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
video-vesa.c x86 setup: fix asm constraints in vesa_store_edid 2009-01-30 23:55:25 +01:00
video-vga.c x86, setup: fix the setting of 480-line VGA modes 2009-03-18 16:54:05 -07:00
video.c x86: boot - fix sparse warnings 2008-11-23 19:58:58 +01:00
video.h x86: remove pointless comments 2008-04-19 19:19:54 +02:00