freebsd-dev/sys/sparc64
John Baldwin 7d9ace1d46 Add a small API to manage the MD user trap structures. Specifically, we
now use a pool mutex to manage the reference counts.  This fixes races
resulting in use-after-free.

Tested by:	kris, David Cornejo dave at dogwood dot com
Reported by:	bmilekic's MemGuard
MFC after:	1 week
2005-01-19 18:24:07 +00:00
..
central - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
compile
conf Fixed sparc64 LINT build. 2005-01-14 13:16:13 +00:00
creator - Add missing <sys/module.h>. [1] 2004-07-09 23:12:22 +00:00
ebus Don't panic when we're asked to allocate a resource type that we know 2005-01-09 18:58:08 +00:00
fhc - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
include Add a small API to manage the MD user trap structures. Specifically, we 2005-01-19 18:24:07 +00:00
isa /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pci /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
sbus /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
sparc64 Add a small API to manage the MD user trap structures. Specifically, we 2005-01-19 18:24:07 +00:00