aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-30 07:33:03 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:03 -0500
commit1a8514e04e3f0249a75f66225e99cdf48d305be7 (patch)
treebb012b0f010d241d8d87f8314a76f6c18c3fd411 /arch/x86/boot
parentb710763608f1bfc8d4cd346e508f3f4878af361e (diff)
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: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/boot/main.c b/arch/x86/boot/main.c
index 1f95750ede28..22ca62ba40c8 100644
--- a/arch/x86/boot/main.c
+++ b/arch/x86/boot/main.c
@@ -131,9 +131,6 @@ void main(void)
131 /* Set keyboard repeat rate (why?) */ 131 /* Set keyboard repeat rate (why?) */
132 keyboard_set_repeat(); 132 keyboard_set_repeat();
133 133
134 /* Set the video mode */
135 set_video();
136
137 /* Query MCA information */ 134 /* Query MCA information */
138 query_mca(); 135 query_mca();
139 136
@@ -154,6 +151,10 @@ void main(void)
154#if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE) 151#if defined(CONFIG_EDD) || defined(CONFIG_EDD_MODULE)
155 query_edd(); 152 query_edd();
156#endif 153#endif
154
155 /* Set the video mode */
156 set_video();
157
157 /* Do the last things and invoke protected mode */ 158 /* Do the last things and invoke protected mode */
158 go_to_protected_mode(); 159 go_to_protected_mode();
159} 160}