kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: ablacktshirt@gmail.com (walkerlala)
To: kernelnewbies@lists.kernelnewbies.org
Subject: can anyone tell me which function to call to pause the kernel
Date: Thu, 12 May 2016 22:55:33 +0800	[thread overview]
Message-ID: <57349965.5070707@gmail.com> (raw)

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 )

             reply	other threads:[~2016-05-12 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12 14:55 walkerlala [this message]
2016-05-12 15:26 ` can anyone tell me which function to call to pause the kernel François
2016-05-15 17:36 ` Mulyadi Santosa
     [not found]   ` <57391618.7090506@gmail.com>
2016-05-17 11:41     ` Mulyadi Santosa
2016-05-17 12:29       ` walkerlala
2016-05-17 15:21         ` Valdis.Kletnieks at vt.edu
2016-05-18  4:53           ` walkerlala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57349965.5070707@gmail.com \
    --to=ablacktshirt@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).