Re: [PATCH 9/33] i386 boot: Add serial output support to the decompressor

Andi Kleen
2006-08-02T05:45:26Z

> The function pointers in the console structure are also a problem.
> static struct console simnow_console = {
> .name = "simnow",
> .write = simnow_write,
> .flags = CON_PRINTBUFFER,
> .index = -1,
> };

Yes just patch them at runtime.

> Ideally the code would be setup so you can compile out consoles
> the user finds uninteresting.

Seems overkill for early_printk

> It is annoying to have to call strlen on all of the strings
> you want to print..

What strlen?

-Andi