Subject: Re: CVS commit: src/sys/arch
To: None <thorpej@shagadelic.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-m68k
Date: 03/11/2007 17:56:02
thorpej@shagadelic.org wrote:
> > Hmm, should LOCK_CAS_CHECK() be called in all interrupt handlers?
> >
> > If so, some of handlers (like clock_intr()) are established via
> > isr_add_custom() (see sun2/sun2/clock.c) and it will be called
> > directly, so LOCK_CAS_CHECK() is also required at the end of
> > clock_intr()?
>
> Ah, yes, I missed that. You are correct. Can you fix it?
I wonder which header file we should put LOCK_CAS_CHECK() macro.
m68k/lock.h, or something else?
(BTW, TME has some problem on CAS instructions so it gets assert. Umm)
---
Izumi Tsutsui