Subject: Re: CVS commit: syssrc
To: None <source-changes@NetBSD.ORG>
From: Ty Sarna <tsarna@endicor.com>
List: source-changes
Date: 05/02/2000 22:41:24
In article <200005020517.WAA21728@nb00.nas.nasa.gov>,
Jason R Thorpe  <thorpej@netbsd.org> wrote:
> 
> Module Name:	syssrc
> Committed By:	thorpej
> Date:		Tue May  2 05:17:47 UTC 2000
> 
> Modified Files:
> 	syssrc/sys/arch/m68k/include: lock.h
> 
> Log Message:
> On the m68k, the most efficient type for __cpu_simple_lock_t is
> an unsigned char, since that is what the `tas' instruction uses.
> 
> While I'm here, implement the __cpu_simple_lock family of routines.
> Why?  One, because they're easy.  Two, so Steve can get master/slave
> MVME systems talking across the backplane.  :-)

Is this #ifdef MULTIPROCESSOR? You have to be careful not to use TAS on
some of our existing uniprocessor ports (at least amiga, and IIRC there
were others)