Add a helper to get a context's SP
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 20 Apr 2016 22:16:39 +0000 (15:16 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 May 2016 21:11:15 +0000 (17:11 -0400)
commit9c0d0b20a439cd02e6e3b3c3078338c597f104f4
tree793c60ab2be549381bd38c2c44d6e38395489853
parentf4fe8909f1053f219df53b74f26c14f4e823c80d
Add a helper to get a context's SP

Used in debugging.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/riscv/trap.h
kern/arch/x86/trap64.h
kern/include/trap.h
kern/src/trap.c