On 10.02.2008 23:09, Carl-Daniel Hailfinger wrote:
> Make printk() log to a buffer.
> This only works with qemu for now, but there it works really well.
>
> Signed-off-by: Carl-Daniel Hailfinger <[EMAIL PROTECTED]>
>   

A few side benefits of this patch:
- printk() now works directly after printk_buffer_init(), even before
the serial port is set up.
- If all you want is a log, you don't have to bother with serial output.
- A payload can read and analyze the log.
- You can build on this and buffer log until serial is available, then
flush the messages buffered so far.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/


-- 
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to