Add a get_stack_pointer() helper to parlib
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 1 Apr 2016 19:42:03 +0000 (15:42 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 5 Apr 2016 19:42:18 +0000 (15:42 -0400)
commitc982802b9896f5b7645d55bffb5c3db8ddd943d9
tree102fa40ab07e2fdd5999dd945aff9cd33716a1f5
parenta5ad15e924b0bf4dffd049835d1ef89a46aafadb
Add a get_stack_pointer() helper to parlib

I went with the same naming convention as set_stack_pointer.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/parlib/include/parlib/riscv/arch.h
user/parlib/include/parlib/x86/arch.h