a stupid question about pdc_console?
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
Quoted 2 lines · Joel Soete
how
printk()works beforesetup_arch()initialized his early console? (that works but how?)
it queues it until a console registers, and then it gets dumped.
(see register_console in kernel/printk.c)
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux