I compiled linux kernel and I added a message, to boot process in Main.c file:
pr_alert("press any key to continue..");
Now I need to detect when a keyboard key is pressed to continue with boot process, I know it should not be done but it's required for a homework. Please help. Thanks in advance
答案 0 :(得分:0)
'等待按键'调试只是不是内核调试的支持方法。如果需要停止并分析内核数据,请使用kgdb。