lkml.org 
[lkml]   [2006]   [Feb]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 25 Feb 2006 00:15:33 -0800
FromAndrew Morton <>
SubjectRe: [-mm patch] x86: start early_printk at sensible screen row
Chuck Ebbert <76306.1226@compuserve.com> wrote:
>
> Use boot info to start early_printk() at the proper row on VGA console.
> 

Define "proper".

> 
> --- 2.6.16-rc4-mm2-64.orig/arch/x86_64/kernel/early_printk.c
> +++ 2.6.16-rc4-mm2-64/arch/x86_64/kernel/early_printk.c
> @@ -244,7 +244,7 @@ int __init setup_early_printk(char *opt)
>  	           && SCREEN_INFO.orig_video_isVGA == 1) {
>  		max_xpos = SCREEN_INFO.orig_video_cols;
>  		max_ypos = SCREEN_INFO.orig_video_lines;
> -		current_ypos = max_ypos;
> +		current_ypos = SCREEN_INFO.orig_y;
>  		early_console = &early_vga_console; 
>   	} else if (!strncmp(buf, "simnow", 6)) {
>   		simnow_init(buf + 6);

Is that the place at which the boot loader left the cursor?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-25 09:19    [from the cache]
©2003-2008