freebsd-dev/sys/sparc64/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
..
autoconf.c
bus_machdep.c Add the bus_dmamap_load_mbuf_sg() function to sparc64. 2005-01-15 09:20:47 +00:00
cache.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
cheetah.c Fix a bug in the data access error recorvery. Before re-enabling the data 2003-11-11 06:41:54 +00:00
clock.c
counter.c Set the tc_quality field of the struct before calling tc_init(), since 2004-09-30 14:30:29 +00:00
critical.c
db_disasm.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
db_hwwatch.c
db_interface.c Mega update for the KDB framework: turn DDB into a KDB backend. 2004-07-10 23:47:20 +00:00
db_trace.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
dump_machdep.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
eeprom_ebus.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
eeprom_sbus.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
eeprom.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
elf_machdep.c Add __elfN(dump_thread). This function is called from __elfN(coredump) 2004-08-11 02:35:06 +00:00
exception.S
gdb_machdep.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
genassym.c Remove references to U area and garbage collect includes. 2004-11-20 02:30:59 +00:00
identcpu.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
in_cksum.c Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
interrupt.S
intr_machdep.c Implement preemption of kernel threads natively in the scheduler rather 2004-07-02 20:21:44 +00:00
iommu.c Add the bus_dmamap_load_mbuf_sg() function to sparc64. 2005-01-15 09:20:47 +00:00
locore.S
machdep.c Add a small API to manage the MD user trap structures. Specifically, we 2005-01-19 18:24:07 +00:00
mem.c Correct some uses of the wrong members of the *min()/*max()-familiy, e.g. 2004-08-15 21:37:52 +00:00
mp_exception.S
mp_locore.S
mp_machdep.c Some minor print/panic message cleanups. 2004-09-27 16:06:38 +00:00
nexus.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
ofw_bus.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
ofw_machdep.c Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
pmap.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
prof_machdep.c
rtc.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
rwindow.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
sc_machdep.c "md" files for syscons. 2003-08-24 00:47:40 +00:00
spitfire.c Fix a bug in the data access error recorvery. Before re-enabling the data 2003-11-11 06:41:54 +00:00
support.S Fix a bug in the data access error recorvery. Before re-enabling the data 2003-11-11 06:41:54 +00:00
swtch.S Move the per-CPU vmspace pointer fixup that is required before a 2004-05-26 12:06:52 +00:00
sys_machdep.c Add a small API to manage the MD user trap structures. Specifically, we 2005-01-19 18:24:07 +00:00
tick.c
tlb.c
trap.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
tsb.c Add pmap locking to many of the functions. 2004-08-10 20:53:26 +00:00
uio_machdep.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
vm_machdep.c Add a small API to manage the MD user trap structures. Specifically, we 2005-01-19 18:24:07 +00:00