repo.or.cz
/
factor
/
jcg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add an unlimit word, refactor limited-streams, better docs
[factor/jcg.git]
/
vm
/
os-freebsd-x86.64.h
blob
23e1ff57330c2732eb24b7281d7ecc915b44400c
1
#include <ucontext.h>
2
3
INLINE
void
*
ucontext_stack_pointer
(
void
*
uap
)
4
{
5
ucontext_t
*
ucontext
= (
ucontext_t
*)
uap
;
6
return
(
void
*)
ucontext
->
uc_mcontext
.
mc_rsp
;
7
}
8
9
#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)(ucontext))->uc_mcontext.mc_rip)