[LinuxBIOS] [PATCH] VGA is used before it is initialized

Roman Kononov kononov195-lbl at yahoo.com
Wed Jan 31 19:26:58 CET 2007


On 01/17/2007 05:56 PM, Roman Kononov wrote:
> In the original code vga_inited is set, then run_bios() is
> called, which does printk(), which is allowed using the VGA.
> 
> The patch puts vga_inited=1 and run_bios() in the right order.

For me, this bug resulted in linuxbios hanged.

When console log level is BIOS_INFO and above, linuxbios accesses
the video memory of uninitialized VGA hardware, which is bad.

Roman





More information about the coreboot mailing list