f51470a514
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>.
16 lines
602 B
Makefile
16 lines
602 B
Makefile
# $NetBSD: Makefile,v 1.14 2000/04/29 03:31:51 thorpej Exp $
|
|
|
|
KDIR= /sys/arch/mips/include
|
|
INCSDIR= /usr/include/mips
|
|
|
|
INCS= ansi.h aout_machdep.h asm.h bswap.h bsd-aout.h cachectl.h \
|
|
cdefs.h cpu.h cpuregs.h db_machdep.h ecoff_machdep.h \
|
|
elf_machdep.h endian.h endian_machdep.h float.h ieee.h ieeefp.h \
|
|
kcore.h kdbparam.h limits.h lock.h locore.h math.h mips1_pte.h \
|
|
mips3_pte.h mips_opcode.h mips_param.h pcb.h pmap.h proc.h profile.h \
|
|
psl.h pte.h ptrace.h reg.h regdef.h regnum.h reloc.h setjmp.h \
|
|
signal.h stdarg.h sysarch.h trap.h types.h varargs.h \
|
|
vmparam.h
|
|
|
|
.include <bsd.kinc.mk>
|