[coreboot] [PATCH] v3: printk buffer
c-d.hailfinger.devel.2006 at gmx.net
Sun Feb 10 23:21:59 CET 2008
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 <c-d.hailfinger.devel.2006 at gmx.net>
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.
More information about the coreboot