freebsd-dev/sys/alpha/alpha
Julian Elischer 77c4066424 Add some DIAGNOSTIC code.
While in userland, keep the thread's ucred reference in a shadow
field so that the usual place to store it is NULL.
If DIAGNOSTIC is not set, the thread ucred is kept valid until the next
kernel entry, at which time it is checked against the process cred
and possibly corrected. Produces a BIG speedup in
kernels with INVARIANTS set. (A previous commit corrected it
for the non INVARIANTS case already)

Reviewed by:	dillon@freebsd.org
2002-02-22 23:58:22 +00:00
..
alpha-gdbstub.c A set of changes to reduce the number of include files the kernel 2001-07-08 04:56:07 +00:00
api_up1000.c Argh, I missed some #include "sio.h". I was looking primarily for NSIO 2001-02-02 01:48:40 +00:00
atomic.s Fix SCM ID's and remove tailing blanks. 2001-04-25 20:40:57 +00:00
autoconf.c Remove call to cninit_finish(). 2001-10-24 17:42:01 +00:00
busdma_machdep.c Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
busspace.c Remove a vestige of an older attempt at implementing this. 2000-08-29 08:50:17 +00:00
clock_if.m * Factor out the object system from new-bus so that it can be used by 2000-04-08 14:17:18 +00:00
clock.c Introduce a boot environment variable (clock_compat_osf1) which can 2001-11-03 17:22:50 +00:00
cpuconf.c Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
db_disasm.c Don't tell printf() to output a sign when printing out a value as hex. 2000-09-11 05:28:52 +00:00
db_instruction.h handle reserved/unimplemented instruction (opDec) faults 2001-03-05 21:21:01 +00:00
db_interface.c Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
db_trace.c Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
dec_1000a.c Resurrect platform.pci_intr_map() and essentially undo the effects of 2001-06-01 17:39:11 +00:00
dec_2100_a50.c Resurrect platform.pci_intr_map() and essentially undo the effects of 2001-06-01 17:39:11 +00:00
dec_2100_a500.c apparently EV5 2x00s have their t2 CSRs where I'd expect to find 2001-10-20 01:27:23 +00:00
dec_3000_300.c Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
dec_3000_500.c Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
dec_axppci_33.c Resurrect platform.pci_intr_map() and essentially undo the effects of 2001-06-01 17:39:11 +00:00
dec_eb64plus.c Resurrect platform.pci_intr_map() and essentially undo the effects of 2001-06-01 17:39:11 +00:00
dec_eb164.c Resurrect platform.pci_intr_map() and essentially undo the effects of 2001-06-01 17:39:11 +00:00
dec_kn8ae.c Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
dec_kn20aa.c Resurrect platform.pci_intr_map() and essentially undo the effects of 2001-06-01 17:39:11 +00:00
dec_kn300.c Remove the hiding of some prototype declarations. 2001-10-11 21:48:02 +00:00
dec_st550.c Resurrect platform.pci_intr_map() and essentially undo the effects of 2001-06-01 17:39:11 +00:00
dec_st6600.c Resurrect platform.pci_intr_map() and essentially undo the effects of 2001-06-01 17:39:11 +00:00
divrem.m4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
elf_machdep.c recovery from new binutils part II: fix the alpha kernel so that 2002-02-21 23:34:09 +00:00
exception.s Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
fp_emulate.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
genassym.c GC the PC_SWITCH* symbols which are not used in assembly anymore. 2002-02-07 10:27:58 +00:00
ieee_float.c Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ieee_float.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
in_cksum.c Fix a warning. Dont convert away from const to just re-add it in the 2001-09-10 10:48:19 +00:00
interrupt.c Turn interrupt thread preemption back on on the alpha. 2002-02-08 18:23:46 +00:00
locore.s Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
machdep.c Use struct __ucontext in prototypes and associated functions instead of 2002-02-17 17:40:34 +00:00
mem.c o securelevel_gt() patches came from pre-KSE alpha -- this revision 2001-09-26 20:27:23 +00:00
mp_machdep.c Convert p->p_runtime and PCPU(switchtime) to bintime format. 2002-02-22 13:32:01 +00:00
pal.s One needs to introduce things with a `.file' directive before trying to 2001-05-28 09:52:21 +00:00
pmap.c Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
prom_disp.s One needs to introduce things with a `.file' directive before trying to 2001-05-28 09:52:21 +00:00
prom.c Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
promcons.c Remove unneeded and #if 0'ed code to register in cdevsw[] 2001-11-03 17:05:12 +00:00
setdef0.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
setdef1.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sgmap.c remove unneeded #include <vm/vm_map.h> 2001-05-31 23:31:34 +00:00
support.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
sys_machdep.c Bah, I managed to turn cosmetic things into real bugs. Fix shadowed 2002-02-08 08:56:01 +00:00
timerreg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
trap.c Add some DIAGNOSTIC code. 2002-02-22 23:58:22 +00:00
vm_machdep.c Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00