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>.
17 lines
711 B
Makefile
17 lines
711 B
Makefile
# $NetBSD: Makefile,v 1.12 2000/04/29 03:31:49 thorpej Exp $
|
|
|
|
KDIR= /sys/arch/i386/include
|
|
INCSDIR= /usr/include/i386
|
|
|
|
INCS= ansi.h aout_machdep.h apmvar.h asm.h bioscall.h bootinfo.h bswap.h \
|
|
byte_swap.h bus.h cdefs.h conf.h cpu.h cpufunc.h cputypes.h \
|
|
db_machdep.h disklabel.h elf_machdep.h endian.h endian_machdep.h \
|
|
float.h frame.h freebsd_machdep.h gdt.h ibcs2_machdep.h ieee.h \
|
|
ieeefp.h intr.h joystick.h kcore.h limits.h lock.h math.h mouse.h \
|
|
npx.h param.h pcb.h pccons.h pio.h pmap.h \
|
|
proc.h profile.h psl.h pte.h ptrace.h reg.h segments.h \
|
|
setjmp.h signal.h specialreg.h spkr.h stdarg.h svr4_machdep.h \
|
|
sysarch.h trap.h tss.h types.h varargs.h vm86.h vmparam.h
|
|
|
|
.include <bsd.kinc.mk>
|