/vm/os-solaris-x86.32.hpp
http://github.com/abeaumont/factor · C++ Header · 9 lines · 6 code · 3 blank · 0 comment · 0 complexity · b954bf14c0784843e4369fccb13fc2b4 MD5 · raw file
- #include <ucontext.h>
- namespace factor
- {
- #define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[ESP])
- #define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[EIP])
- }