Re: [PATCH 9/33] i386 boot: Add serial output support to the decompressor
- From: ebiederm@xxxxxxxxxxxx (Eric W. Biederman)
- Date: Wed, 02 Aug 2006 01:14:08 -0600
Andi Kleen <ak@xxxxxxx> writes:
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.
I guess that can work. It's a bit of a pain though.
Ideally the code would be setup so you can compile out consoles
the user finds uninteresting.
Seems overkill for early_printk
At least compiling completely out probably isn't.
I have had too many times where the size of a bzImage was an important
factor on a project.
It is annoying to have to call strlen on all of the strings
you want to print..
What strlen?
The strlen that is needed to convert putstr(char *s) into the
write method for the early_printk helpers.
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [RFC] ELF Relocatable x86 and x86_64 bzImages
- From: Eric W. Biederman
- Re: [PATCH 9/33] i386 boot: Add serial output support to the decompressor
- From: Andi Kleen
- Re: [PATCH 9/33] i386 boot: Add serial output support to the decompressor
- From: Eric W. Biederman
- Re: [PATCH 9/33] i386 boot: Add serial output support to the decompressor
- From: Andi Kleen
- [RFC] ELF Relocatable x86 and x86_64 bzImages
- Prev by Date: What happens if the klogd dies
- Next by Date: Re: 2.6.17-rt8 crash amd64
- Previous by thread: Re: [PATCH 9/33] i386 boot: Add serial output support to the decompressor
- Next by thread: [PATCH 11/33] i386 boot: Add an ELF header to bzImage
- Index(es):
Relevant Pages
|
|