Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 03/11/2007 05:22:26
Module Name:	src
Committed By:	thorpej
Date:		Sun Mar 11 05:22:26 UTC 2007

Modified Files:
	src/sys/arch/amiga/include: intr.h
	src/sys/arch/atari/include: intr.h
	src/sys/arch/cesfic/include: intr.h
	src/sys/arch/hp300/include: intr.h
	src/sys/arch/luna68k/include: intr.h
	src/sys/arch/m68k/include: mutex.h
	src/sys/arch/m68k/m68k: lock_stubs.s
	src/sys/arch/mac68k/include: intr.h
	src/sys/arch/mvme68k/include: intr.h
	src/sys/arch/news68k/include: intr.h
	src/sys/arch/next68k/include: intr.h
	src/sys/arch/sun68k/include: intr.h
	src/sys/arch/sun68k/sun68k: isr.c
	src/sys/arch/x68k/include: intr.h

Log Message:
- Shrink ipl_cookie_t from 32-bits to 16-bits (large enough to hold
  an SR value or an IPL_* constant).
- Take advange of the smaller ipl_cookie_t to shrink kmutex_t from
  16 bytes to 8 bytes by overlapping storage where possible.
- Implement a RAS-based _lock_cas() for mc68010 systems (Sun2).  See
  sun68k/sun68k/isr.c.

Tested on various m68k platforms, but NOT Sun2.  In any case, at least
Sun2 compiles now.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/sys/arch/amiga/include/intr.h
cvs rdiff -r1.13 -r1.14 src/sys/arch/atari/include/intr.h
cvs rdiff -r1.7 -r1.8 src/sys/arch/cesfic/include/intr.h
cvs rdiff -r1.22 -r1.23 src/sys/arch/hp300/include/intr.h
cvs rdiff -r1.8 -r1.9 src/sys/arch/luna68k/include/intr.h
cvs rdiff -r1.3 -r1.4 src/sys/arch/m68k/include/mutex.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/m68k/m68k/lock_stubs.s
cvs rdiff -r1.26 -r1.27 src/sys/arch/mac68k/include/intr.h
cvs rdiff -r1.15 -r1.16 src/sys/arch/mvme68k/include/intr.h
cvs rdiff -r1.17 -r1.18 src/sys/arch/news68k/include/intr.h
cvs rdiff -r1.18 -r1.19 src/sys/arch/next68k/include/intr.h
cvs rdiff -r1.12 -r1.13 src/sys/arch/sun68k/include/intr.h
cvs rdiff -r1.12 -r1.13 src/sys/arch/sun68k/sun68k/isr.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/x68k/include/intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.