freebsd-dev/sys/powerpc/powerpc
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
..
atomic.s This commit (along with one pending in sys/dev/ofw and one in sys/conf) give 2001-06-16 07:14:07 +00:00
atomic.S This commit (along with one pending in sys/dev/ofw and one in sys/conf) give 2001-06-16 07:14:07 +00:00
autoconf.c Add standard calls to device_add_child() and root_bus_configure(). 2001-10-12 19:53:22 +00:00
bcopy.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
busdma_machdep.c This commit (along with one pending in sys/dev/ofw and one in sys/conf) give 2001-06-16 07:14:07 +00:00
clock.c - Correct the type of the argument to delay() so as to not conflict with 2001-10-15 12:23:10 +00:00
copyinstr.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
copystr.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
elf_machdep.c This commit (along with one pending in sys/dev/ofw and one in sys/conf) give 2001-06-16 07:14:07 +00:00
extintr.c Fix includes based on recent changes to lock.h, mutex.h and ktr.h. 2001-10-19 22:45:46 +00:00
fubyte.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
fuswintr.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
fuword.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
genassym.c Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
locore.s Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
locore.S Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
machdep.c Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
mmu_oea.c Fix includes based on recent changes to lock.h, mutex.h and ktr.h. 2001-10-19 22:45:46 +00:00
mp_machdep.c - Do not handle the per-CPU containers in mbuf code as though the cpuids 2001-07-26 18:47:46 +00:00
ofw_machdep.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
ofwmagic.s Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
ofwmagic.S Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
pmap.c Fix includes based on recent changes to lock.h, mutex.h and ktr.h. 2001-10-19 22:45:46 +00:00
subyte.c Fix comment breakage. 2001-06-27 12:20:48 +00:00
suswintr.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
suword.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
swtch.s Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
swtch.S Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
syncicache.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
sys_machdep.c Update PowerPC MD code to compile and do initial bootstrap based on 2001-09-20 00:47:17 +00:00
trap.c Clean up the trap handling code and make it consistent with the other platforms. 2001-11-05 00:49:03 +00:00
vm_machdep.c Fix includes based on recent changes to lock.h, mutex.h and ktr.h. 2001-10-19 22:45:46 +00:00