NetBSD/sys/arch/newsmips/include/Makefile
thorpej f51470a514 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>.
2000-04-29 03:31:45 +00:00

16 lines
677 B
Makefile

# $NetBSD: Makefile,v 1.16 2000/04/29 03:31:52 thorpej Exp $
KDIR= /sys/arch/newsmips/include
INCSDIR= /usr/include/newsmips
INCS= adrsmap.h ansi.h asm.h aout_machdep.h apbus.h apcall.h autoconf.h \
bswap.h bsd-aout.h cdefs.h conf.h cpu.h db_machdep.h disklabel.h \
ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h float.h \
framebuf.h ieee.h ieeefp.h intr.h kcore.h kdbparam.h keyboard.h \
limits.h lock.h locore.h machConst.h math.h mips_opcode.h mouse.h \
param.h pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h reg.h \
regdef.h regnum.h reloc.h romcall.h setjmp.h signal.h stdarg.h \
trap.h types.h varargs.h vmparam.h z8530var.h
.include <bsd.kinc.mk>