Linux MIPS Architecture development
 help / color / mirror / Atom feed
* do_ri and EPC adjustment
@ 2002-10-04 22:06 Kip Walker
  2002-10-05 12:51 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Kip Walker @ 2002-10-04 22:06 UTC (permalink / raw)
  To: linux-mips

Sorry if this has already been discussed, but why does do_ri() adjust
the EPC in compute_return_epc() before delivering the SIGILL to a user
process?

Kip

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: do_ri and EPC adjustment
  2002-10-04 22:06 do_ri and EPC adjustment Kip Walker
@ 2002-10-05 12:51 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2002-10-05 12:51 UTC (permalink / raw)
  To: Kip Walker; +Cc: linux-mips

On Fri, Oct 04, 2002 at 03:06:23PM -0700, Kip Walker wrote:

> Sorry if this has already been discussed, but why does do_ri() adjust
> the EPC in compute_return_epc() before delivering the SIGILL to a user
> process?

The original reason was to avoid having knowledge weather to skip over an
instruction or not from the signal return path.  For various reasons this
seems a wrong decission.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-05 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-04 22:06 do_ri and EPC adjustment Kip Walker
2002-10-05 12:51 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox