Question

I'm new at kernel programming and trying to do a "Hello World" example. I added the following code to init/main.c in start_kernel()

#ifdef HELLO
   printk("Hello World");
#endif

Now to my question. How do i define HELLO in the boot parameters using qemu?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top