Changeable kernel stacks
authorBarret Rhoden <brho@cs.berkeley.edu>
Sun, 17 Oct 2010 07:02:38 +0000 (00:02 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:55 +0000 (17:35 -0700)
commit733cf08522a330dee9c9c1a8d72e24bf8382751e
tree8cb39b1b0f1074bfd85ac26e58bb6d19c3d7eb77
parent9d81ada36f8530a10840b629dbad44e7e2e2690f
Changeable kernel stacks

We can now set and query the default kernel stack (the one you'll trap
in to).  On x86, this info is saved in the TSS.  On sparc, it's in an
array.  If that array gets a lot of cache traffic, we'll need to put it
in per_cpu_info, which is a minor pain.
kern/arch/i686/trap.c
kern/arch/i686/trap.h
kern/arch/sparc/entry.S
kern/arch/sparc/spillfill.S
kern/arch/sparc/trap.c
kern/arch/sparc/trap.h
kern/arch/sparc/trap_entry.S
kern/include/trap.h