freebsd-nq/sys/sparc64
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
..
compile Obrien created this directory, but I didn't cvs add cvsignore 2001-07-01 23:37:03 +00:00
conf Allow maxusers to be specified as 0 in the kernel config, which will 2001-12-09 01:57:09 +00:00
ebus Add EBus support code, ported from NetBSD. 2001-11-09 20:23:38 +00:00
include Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
isa Add ISA support code for sparc64. 2001-11-09 20:21:21 +00:00
pci Add a file forgotten in the previous commit (a kobj interface that 2001-11-09 20:43:44 +00:00
sparc64 Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00