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?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top