linux-mips
[Top] [All Lists]

Re: do_ri and EPC adjustment

To: Kip Walker <kwalker@broadcom.com>
Subject: Re: do_ri and EPC adjustment
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sat, 5 Oct 2002 14:51:42 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <3D9E10DF.C4C305B2@broadcom.com>; from kwalker@broadcom.com on Fri, Oct 04, 2002 at 03:06:23PM -0700
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <3D9E10DF.C4C305B2@broadcom.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
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

<Prev in Thread] Current Thread [Next in Thread>