linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* "sc" ...
@ 2002-01-25  5:53 Venkat Raghu
  0 siblings, 0 replies; only message in thread
From: Venkat Raghu @ 2002-01-25  5:53 UTC (permalink / raw)
  To: linuxppc-embedded


 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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-25  5:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-25  5:53 "sc" Venkat Raghu

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).