freebsd-dev/sys/alpha
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
..
alpha Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
compile
conf Enable UFS_DIRHASH in the GENERIC kernel. 2001-12-14 16:27:11 +00:00
include Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
isa
linux Eliminate the prefix parameter to linux_emul_find(), which was always 2001-10-27 11:15:19 +00:00
mcbus The DEC kn300 has special code for console handling hardcoded here, so add 2001-11-22 02:41:34 +00:00
osf1 Rather than just change the arguments to suser() change the function to 2001-11-02 17:42:03 +00:00
pci Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
tc
tlsb Don't call cdevsw_add(). 2001-11-04 11:50:08 +00:00
Makefile