freebsd-dev/sys/powerpc/aim
John Baldwin 22ea1bc57a Unify the checking for lock misbehavior in the various syscall()
implementations and adjust some of the checks while I'm here:
- Add a new check to make sure we don't return from a syscall in a critical
  section.
- Add a new explicit check before userret() to make sure we don't return
  with any locks held.  The advantage here is that we can include the
  syscall number and name in syscall() whereas that info is not available
  in userret().
- Drop the mtx_assert()'s of sched_lock and Giant.  They are replaced by
  the more general checks just added.

MFC after:	2 weeks
2006-07-27 22:32:30 +00:00
..
clock.c Include needed clock.h. 2006-07-26 17:06:39 +00:00
copyinout.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
interrupt.c Tweak how the MD code calls the fooclock() methods some. Instead of 2005-12-22 22:16:09 +00:00
locore.S Copy SPRG0-3 registers at boot-time and restore when calling into 2005-10-30 21:29:59 +00:00
machdep.c Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
mmu_oea.c Add synchronization to moea_zero_page() and moea_zero_page_area(). 2006-07-10 07:03:37 +00:00
nexus.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
ofw_machdep.c o Move the prototype of mem_valid() from ofw_machdep.h to md_var.h. 2006-07-26 17:12:54 +00:00
ofwmagic.S Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
swtch.S /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
trap_subr.S Mark the return address of the call to ast() in the generic trap 2005-12-23 13:05:27 +00:00
trap.c Unify the checking for lock misbehavior in the various syscall() 2006-07-27 22:32:30 +00:00
uio_machdep.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
uma_machdep.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
vm_machdep.c Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00