freebsd-nq/sys/powerpc/include
John Baldwin 7e1f6dfe9d Modify the critical section API as follows:
- The MD functions critical_enter/exit are renamed to start with a cpu_
  prefix.
- MI wrapper functions critical_enter/exit maintain a per-thread nesting
  count and a per-thread critical section saved state set when entering
  a critical section while at nesting level 0 and restored when exiting
  to nesting level 0.  This moves the saved state out of spin mutexes so
  that interlocking spin mutexes works properly.
- Most low-level MD code that used critical_enter/exit now use
  cpu_critical_enter/exit.  MI code such as device drivers and spin
  mutexes use the MI wrappers.  Note that since the MI wrappers store
  the state in the current thread, they do not have any return values or
  arguments.
- mtx_intr_enable() is replaced with a constant CRITICAL_FORK which is
  assigned to curthread->td_savecrit during fork_exit().

Tested on:	i386, alpha
2001-12-18 00:27:18 +00:00
..
_inttypes.h
_limits.h
ansi.h
asm.h
atomic.h
bat.h
bootinfo.h
bus.h
clock.h
cpu.h
cpufunc.h Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
db_machdep.h
elf.h
endian.h
exec.h
fpu.h
frame.h
intr.h
ipl.h
limits.h
md_var.h
mutex.h Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
openpicreg.h Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
param.h
pcb.h
pcpu.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
pio.h
pmap.h
powerpc.h
proc.h Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
psl.h
pte.h
ptrace.h
reg.h
reloc.h
resource.h
setjmp.h
sigframe.h
signal.h
smp.h
stdarg.h
trap.h
types.h style(9) 2001-12-09 19:12:07 +00:00
ucontext.h
varargs.h
vmparam.h