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

13 lines
329 B
C++
Raw Normal View History

2009-05-02 05:04:19 -04:00
#include <i386/signal.h>
2009-05-04 02:46:13 -04:00
namespace factor
{
static inline unsigned int uap_fpu_status(void *uap) { return 0; }
static inline void uap_clear_fpu_status(void *uap) {}
#define UAP_STACK_POINTER(ucontext) (((struct sigcontext *)ucontext)->sc_esp)
#define UAP_PROGRAM_COUNTER(ucontext) (((struct sigcontext *)ucontext)->sc_eip)
2009-05-04 02:46:13 -04:00
}