Re: [PATCH] early printk for x86

William Lee Irwin III (wli@holomorphy.com)
Thu, 14 Nov 2002 19:52:25 -0800


Jeff Garzik wrote:
>>> VGA and serial are certainly not hammer+ia32-specific. Make the generic
>>> parts generic... the arch-specific components would need to change
>>> early-foo base addresses perhaps, but otherwise, it's pretty generic.

On Thu, Nov 14, 2002 at 02:50:43PM -0800, Dave Hansen wrote:
>> Take 2.
>> - Move the x86_64 early_printk.c into kernel/
>> - move some of the basic defines into linux/early_printk.h and
>> asm-{i386,x86_64}/early_printk.h
>> - run the setup in start_kernel() before setup_arch()

On Fri, Nov 15, 2002 at 04:43:00AM +0100, Andi Kleen wrote:
> That's overkill. Most architectures have an early_printk equivalent in
> firmware. Only i386 and x86-64 are not lucky enough to have one
> that is usable from the CPU mode linux uses.

Perhaps s/early_printk/prom_printf/ would pick up a few arches for free.

Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/