From mboxrd@z Thu Jan 1 00:00:00 1970 From: ablacktshirt@gmail.com (walkerlala) Date: Thu, 12 May 2016 22:55:33 +0800 Subject: can anyone tell me which function to call to pause the kernel Message-ID: <57349965.5070707@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org I successfully insert some function into the kernel code and make it execute when the kernel start up, but I just can't make the kernel stop executing. Are there any functions which can pause the kernel so that I prompt the user, and let the user input a command(maybe a comment to display the current time. Something like a shell would do) and interact ? (I had checked the "sys_***" functions in this page: http://docs.cs.up.ac.za/programming/asm/derick_tut/syscalls.html but just can't find a proper one )