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>. |
||
---|---|---|
.. | ||
acia.h | ||
ahdilabel.h | ||
ansi.h | ||
aout_machdep.h | ||
asm.h | ||
bswap.h | ||
bus.h | ||
cdefs.h | ||
cpu.h | ||
cpufunc.h | ||
db_machdep.h | ||
disklabel.h | ||
dma.h | ||
elf_machdep.h | ||
endian_machdep.h | ||
endian.h | ||
float.h | ||
frame.h | ||
ieee.h | ||
ieeefp.h | ||
intr.h | ||
iomap.h | ||
isa_machdep.h | ||
isapnp_machdep.h | ||
kcore.h | ||
limits.h | ||
lock.h | ||
Makefile | ||
math.h | ||
mfp.h | ||
msioctl.h | ||
mtpr.h | ||
param.h | ||
pcb.h | ||
pci_machdep.h | ||
pmap.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
scu.h | ||
setjmp.h | ||
signal.h | ||
stdarg.h | ||
svr4_machdep.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
video.h | ||
vmparam.h |