11 Jun, 2010
1 commit
-
Catch missing conversion to the register structure "glove box" scheme.
Found by gcc 4.6's new warnings.
Signed-off-by: Andi Kleen
LKML-Reference:
Signed-off-by: H. Peter Anvin
20 Feb, 2010
1 commit
-
The code for setting standard VGA modes probes for the current mode,
and skips the mode setting if the mode is 3 (color text 80x25) or 7
(mono text 80x25). Unfortunately, there are BIOSes, including the
VMware BIOS, which report the previous mode if function 0F is queried
while the screen is in a VESA mode, and of course, nothing can help a
mode poked directly into the hardware.As such, the safe option is to set the mode anyway, and only query to
see if we should be using mode 7 rather than mode 3. People who don't
want any mode setting at all should probably use vga=0x0f04
(VIDEO_CURRENT_MODE). It's possible that should be the kernel
default.Reported-by Rene Arends
Signed-off-by: H. Peter Anvin
LKML-Reference:
27 Jun, 2009
1 commit
-
There were a set of pre-Kconfig configuration variables defined in the
video code. There is absolutely no evidence that they have been
tweaked by anybody in modern history, so just get rid of them and hope
nobody notices. If someone does complain, these should be made real
Kconfig variables.Reported-by: Robert P. J. Day
Signed-off-by: H. Peter Anvin
10 Apr, 2009
1 commit
-
Impact: BIOS proofing
"Glove box" off BIOS interrupts in the video code.
LKML-Reference:
Signed-off-by: H. Peter Anvin
Cc: Pavel Machek
Cc: Rafael J. Wysocki
08 Apr, 2009
1 commit
-
Impact: Fixes these modes on at least one system
The rewrite of the setup code into C resequenced the font setting and
register reprogramming phases of configuring nonstandard VGA modes
which use 480 scan lines in text mode. However, there exists at least
one board (Micro-Star MS-7383 version 2.0) on which this resequencing
causes an unusable display.Revert to the original sequencing: set up 480-line mode, install the
font, and then adjust the vertical end register appropriately.This failure was masked by the fact that the 480-line setup was broken
until checkin 5f641356127712fbdce0eee120e5ce115860c17f (therefore this
is not a -stable candidate bug fix.)Reported-by: Andi Kleen
Signed-off-by: H. Peter Anvin
19 Mar, 2009
1 commit
-
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
24 Nov, 2008
1 commit
-
Impact: make global variables static
Fix these sparse warnings:
arch/x86/boot/video.c:233:3: warning: symbol 'saved' was not declared. Should it be static?
arch/x86/boot/video-vga.c:37:13: warning: symbol 'video_vga' was not declared. Should it be static?Signed-off-by: Hannes Eder
Signed-off-by: Ingo Molnar
25 May, 2008
1 commit
-
Just moved an open brace to the previous line.
Signed-off-by: Miklos Vajna
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner
20 Apr, 2008
1 commit
-
Remove old comments that include the old arch/i386 directory.
Signed-off-by: WANG Cong
Acked-by: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner
17 Apr, 2008
1 commit
-
Move wakeup code to .c, so that video mode setting code can be shared
between boot and wakeup. Remove nasty assembly code in 64-bit case by
re-using trampoline code. Stack setup was fixed to clear high 16bits
of %esp, maybe that fixes some machines..c code sharing and morse code was done H. Peter Anvin, Sam Ravnborg
reviewed kbuild related stuff, and it seems okay to him. Rafael did
some cleanups.[rjw:
* Made the patch stop breaking compilation on x86-32
* Added arch/x86/kernel/acpi/sleep.h
* Got rid of compiler warnings in arch/x86/kernel/acpi/sleep.c
* Fixed 32-bit compilation on x86-64 systems
* Added include/asm-x86/trampoline.h and fixed the non-SMP
compilation on 64-bit x86
* Removed arch/x86/kernel/acpi/sleep_32.c which was not used
* Fixed some breakage caused by the integration of smpboot.c done
under us in the meantime]Signed-off-by: Pavel Machek
Signed-off-by: H. Peter Anvin
Reviewed-by: Sam Ravnborg
Signed-off-by: Rafael J. Wysocki
Signed-off-by: Ingo Molnar
30 Jan, 2008
1 commit
-
Display VESA graphics modes, with their mode IDs, in the vga=ask
menu. Most VESA mode numbers are platform-dependent, so it helps to
have an easy way to display them.Based in part on a patch by Petr Vandrovec .
Cc: Petr Vandrovec
Signed-off-by: H. Peter Anvin
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner
11 Oct, 2007
1 commit
-
Signed-off-by: Thomas Gleixner
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner
Signed-off-by: Ingo Molnar