/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. namespace factor
  3. {
  4. static inline unsigned int uap_fpu_status(void *uap) { return 0; }
  5. static inline void uap_clear_fpu_status(void *uap) {}
  6. #define UAP_STACK_POINTER(ucontext) (((struct sigcontext *)ucontext)->sc_esp)
  7. #define UAP_PROGRAM_COUNTER(ucontext) (((struct sigcontext *)ucontext)->sc_eip)
  8. }