Sign in
opensecura
/
3p
/
tock
/
libtock-rs
/
828c19de9292ddbca0e2da6a161c0c38124c5053
/
.
/
core
/
src
/
debug
/
platform_arm.rs
blob: a7773345e492eb7b9be2ce2192bc0132f9d2a347 [
file
] [
log
] [
blame
]
pub
fn
get_stack_pointer
()
->
usize
{
let
stack_pointer
;
unsafe
{
llvm_asm
!(
"mov $0, sp"
:
"=r"
(
stack_pointer
)
:
:
:
"volatile"
)
};
stack_pointer
}