[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / news68k / include

File: [cvs.NetBSD.org] / src / sys / arch / news68k / include / Makefile (download)

Revision 1.4, Sat Apr 29 03:31:52 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.3: +2 -2 lines

Require that each each MACHINE/MACHINE_ARCH supply a lock.h.  This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED.  These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case).  Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.

#	$NetBSD: Makefile,v 1.4 2000/04/29 03:31:52 thorpej Exp $

KDIR=	/sys/arch/news68k/include
INCSDIR= /usr/include/news68k

INCS=	ansi.h aout_machdep.h asm.h autoconf.h bswap.h cdefs.h cpu.h \
	db_machdep.h disklabel.h elf_machdep.h endian.h endian_machdep.h \
	float.h frame.h ieee.h ieeefp.h intr.h kcore.h limits.h lock.h math.h \
	param.h pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h reg.h \
	setjmp.h signal.h stdarg.h svr4_machdep.h trap.h \
	types.h varargs.h vmparam.h

.include <bsd.kinc.mk>