I know printf
needs help from the OS to do its job.
I also know printf
does not work in the Linux source code as there is no library. And so we have printk
for debugging.
How does printk
work when the OS is still booting then?
debuggingkernellinux-kernel
I know printf
needs help from the OS to do its job.
I also know printf
does not work in the Linux source code as there is no library. And so we have printk
for debugging.
How does printk
work when the OS is still booting then?
Best Answer
This reference seems to have answers to your questions, titled: Linux Kernel Development Second Edition.
excerpt