PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/vm/os-openbsd-x86.32.hpp

http://github.com/abeaumont/factor
C++ Header | 12 lines | 8 code | 4 blank | 0 comment | 0 complexity | 25d472b2896ff010953146b53f6f376b MD5 | raw file
 1#include <i386/signal.h>
 2
 3namespace factor
 4{
 5
 6static inline unsigned int uap_fpu_status(void *uap) { return 0; }
 7static inline void uap_clear_fpu_status(void *uap) {}
 8
 9#define UAP_STACK_POINTER(ucontext) (((struct sigcontext *)ucontext)->sc_esp)
10#define UAP_PROGRAM_COUNTER(ucontext) (((struct sigcontext *)ucontext)->sc_eip)
11
12}