PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
1#include <ucontext.h>
2
3namespace factor
4{
5
6#define UAP_STACK_POINTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[ESP])
7#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[EIP])
8
9}