Re: [PATCH][RESEND] x86: Do not write to VGA memory space if CONFIG_VGA_CONSOLE is undefined

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Guenter Roeck
Date: Monday, April 19, 2010 - 7:21 pm

On Mon, Apr 19, 2010 at 05:02:25PM -0400, H. Peter Anvin wrote:
Moving setup_early_printk() around may be possible, but I do not know
the code good enough to take that risk. Even trying was a bad idea.

I could submit a patch to add some protection into early_printk(),
to ensure it does not write into VGA memory space if there is no VGA,
and do that without changing current semantics - specifically, still
write into VGA memory space even if setup_early_printk() was not called
yet, but if boot_params.screen_info.orig_video_isVGA is set.

I thought you indicated that you are opposed to changing the code,
and it looks kind of clumsy, so I concluded that it was not worth
trying again. Maybe I misunderstood - let me know.

Guenter
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH][RESEND] x86: Do not write to VGA memory space ..., Guenter Roeck, (Mon Apr 19, 7:21 pm)