[parisc-linux] a stupid question about pdc_console?

Joel Soete soete.joel at tiscali.be
Sun Feb 12 06:40:40 MST 2006


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?)



More information about the parisc-linux mailing list