Commit 1a8514e0 authored by H. Peter Anvin's avatar H. Peter Anvin Committed by Ingo Molnar

x86 setup: push video mode setup as late as possible

Push video mode setup as late as possible; messages issued through the
BIOS interface after video mode setup will either not be seen (for
framebuffer modes) or will screw up the cursor (for text modes.)

In particular, this makes the EDD probing message show up correctly.
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent b7107636
...@@ -131,9 +131,6 @@ void main(void) ...@@ -131,9 +131,6 @@ void main(void)
/* Set keyboard repeat rate (why?) */ /* Set keyboard repeat rate (why?) */
keyboard_set_repeat(); keyboard_set_repeat();
/* Set the video mode */
set_video();
/* Query MCA information */ /* Query MCA information */
query_mca(); query_mca();
...@@ -154,6 +151,10 @@ void main(void) ...@@ -154,6 +151,10 @@ void main(void)
#if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE) #if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE)
query_edd(); query_edd();
#endif #endif
/* Set the video mode */
set_video();
/* Do the last things and invoke protected mode */ /* Do the last things and invoke protected mode */
go_to_protected_mode(); go_to_protected_mode();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment