linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Venkat Raghu <venkatraghu2002@yahoo.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: "sc" ...
Date: Thu, 24 Jan 2002 21:53:15 -0800 (PST)	[thread overview]
Message-ID: <20020125055315.55328.qmail@web20408.mail.yahoo.com> (raw)


 Hi,

  I think in order to generate system call exception
  using instruction "sc", we have to update  EVPR
  with "mtspr". So that corresponding handler will be
  called based upon the contents of EVPR.

   But in source code that I am seeing has something
  like:
   mr r6,r3
   ori r3,r5, value
   li  r0,somevalue
   sc
   ....
   ...

   Even if EVPR is not updated with any value  a
   Machine check interrupt is being generated.
  1) Kindly clarify how control goes to machine check
   interrupt handler, is it beacuse of call to "sc"
   or some other event triggers interrupt?
  2) Why "sc" is being called without setting EVPR.

  I have not subscribed to this list. Kindly mail me
  at venkatraghu2002@yahoo.com
  Thankyou.
  Venkat.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

                 reply	other threads:[~2002-01-25  5:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020125055315.55328.qmail@web20408.mail.yahoo.com \
    --to=venkatraghu2002@yahoo.com \
    --cc=linuxppc-embedded@lists.linuxppc.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).