سؤال

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