Subject: Re: Interrupt level in system call
To: None <port-sh3@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sh3
Date: 10/10/2006 04:32:33
On Tue, Oct 10, 2006 at 09:21:19 +0900, Masao Uebayashi wrote:

> > I've fixed general_exception() to drop back to the previous spl level
> > (from SSR)
>
> BTW, how is your fix different from mine?  As far as I read the code,
> those two are on the very same code path.

My fix does splx(get IMASK from SSR).
__INTR_UNMASK is a moral equivalent of spl0().

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen