Skip to contentSkip to conversation

a stupid question about pdc_console?

parisc-linux Joel Soete 2 participants 2 messages Feb 12, 2006 – Feb 14, 2006

lore
Share & tools
lore

Joel Soete

author
#0 lore raw

Hello pa*,

afaik our pdc_console is the very early console that kernel has to printout early msg?

if yes could we anyway printk before this console is initialized?

(see arch/parisc/kernel/setup.c
in setup_arch()
we printk the kernel bit width (32/64 bits) just before pdc_console_init(), though?)

TIA,
Joel

PS: don't much understand how in init/main.c
[...]

    441 asmlinkage void __init start_kernel(void)
    442 {
    443         char * command_line;
    444         extern struct kernel_param __start___param[], __stop___param[];
    445 /*
    446  * Interrupts are still disabled. Do necessary setups, then
    447  * enable them
    448  */
    449         lock_kernel();
    450         page_address_init();
    451         printk(KERN_NOTICE);
    452         printk(linux_banner);
    453         setup_arch(&command_line);
    454         setup_per_cpu_areas();

[...]

how printk() works before setup_arch() initialized his early console? (that works but how?)
_______________________________________________
parisc-linux mailing list [email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux