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>. |
||
---|---|---|
.. | ||
ansi.h | ||
aout_machdep.h | ||
asm.h | ||
bootinfo.h | ||
bsd_audioio.h | ||
bswap.h | ||
bus.h | ||
cdefs.h | ||
cpu.h | ||
cpufunc.h | ||
db_machdep.h | ||
disklabel.h | ||
elf_machdep.h | ||
endian_machdep.h | ||
endian.h | ||
float.h | ||
frame.h | ||
grfioctl.h | ||
ieee.h | ||
ieeefp.h | ||
intr.h | ||
iteioctl.h | ||
kbd.h | ||
kbio.h | ||
kcore.h | ||
limits.h | ||
lock.h | ||
Makefile | ||
math.h | ||
opmbellio.h | ||
param.h | ||
parioctl.h | ||
pcb.h | ||
pci_machdep.h | ||
pmap.h | ||
powioctl.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
remote-sl.h | ||
setjmp.h | ||
signal.h | ||
sram.h | ||
stdarg.h | ||
svr4_machdep.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h | ||
vuid_event.h | ||
z8530var.h |