Kernel context (IRQ, etc) tracking
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 14 Nov 2012 23:29:02 +0000 (15:29 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 21 Nov 2012 23:41:17 +0000 (15:41 -0800)
commit976477e164f610c7b50b0f88267f82cc23f3d9fb
tree6e689b827491b8955742f1d507bbf401d30aee80
parent067b49f3cfa796bd1ea5b24fca99b1f8fe8ad8fc
Kernel context (IRQ, etc) tracking

We can now detect what sort of context we are in.  The main use for this
is deadlock detection.

RISC/SPARC people, take a look at your architectures please.
kern/arch/i686/trap.c
kern/arch/riscv/trap.c
kern/arch/sparc/trap.c
kern/include/smp.h
kern/include/trap.h
kern/src/smp.c
kern/src/trap.c