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>. |
||
---|---|---|
.. | ||
Makefile | ||
adbsys.h | ||
ansi.h | ||
aout_machdep.h | ||
asm.h | ||
autoconf.h | ||
bat.h | ||
bswap.h | ||
bus.h | ||
cdefs.h | ||
cpu.h | ||
db_machdep.h | ||
disklabel.h | ||
elf_machdep.h | ||
endian.h | ||
endian_machdep.h | ||
float.h | ||
fpu.h | ||
frame.h | ||
grfioctl.h | ||
ieee.h | ||
ieeefp.h | ||
intr.h | ||
ipkdb.h | ||
kcore.h | ||
keyboard.h | ||
limits.h | ||
loadfile_machdep.h | ||
lock.h | ||
machine_type.h | ||
math.h | ||
param.h | ||
pcb.h | ||
pci_machdep.h | ||
pio.h | ||
pmap.h | ||
powerpc.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
rbus_machdep.h | ||
reg.h | ||
reloc.h | ||
setjmp.h | ||
signal.h | ||
stdarg.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h | ||
z8530var.h |