2012-08-28 19:34:08 +02:00
|
|
|
|
|
|
|
include <minix/type.h>
|
|
|
|
include <sys/ucontext.h>
|
2013-12-10 09:57:38 +01:00
|
|
|
include <sys/errno.h>
|
|
|
|
include <machine/mcontext.h>
|
2012-08-28 19:34:08 +02:00
|
|
|
|
|
|
|
struct __ucontext
|
|
|
|
member UC_FLAGS uc_flags
|
|
|
|
member UC_LINK uc_link
|
|
|
|
member MAGIC uc_mcontext.mc_magic
|
2013-12-10 14:55:46 +01:00
|
|
|
member REG0 uc_mcontext.__gregs[_REG_R0]
|
|
|
|
member REG1 uc_mcontext.__gregs[_REG_R1]
|
|
|
|
member REG2 uc_mcontext.__gregs[_REG_R2]
|
|
|
|
member REG3 uc_mcontext.__gregs[_REG_R3]
|
|
|
|
member REG4 uc_mcontext.__gregs[_REG_R4]
|
|
|
|
member REG5 uc_mcontext.__gregs[_REG_R5]
|
|
|
|
member REG6 uc_mcontext.__gregs[_REG_R6]
|
|
|
|
member REG7 uc_mcontext.__gregs[_REG_R7]
|
|
|
|
member REG8 uc_mcontext.__gregs[_REG_R8]
|
|
|
|
member REG9 uc_mcontext.__gregs[_REG_R9]
|
|
|
|
member REG10 uc_mcontext.__gregs[_REG_R10]
|
|
|
|
member FPREG uc_mcontext.__gregs[_REG_FP]
|
|
|
|
member REG12 uc_mcontext.__gregs[_REG_R12]
|
|
|
|
member SPREG uc_mcontext.__gregs[_REG_SP]
|
|
|
|
member LRREG uc_mcontext.__gregs[_REG_LR]
|
|
|
|
member PCREG uc_mcontext.__gregs[_REG_PC]
|
2013-12-10 09:57:38 +01:00
|
|
|
define EFAULT EFAULT
|
|
|
|
define EINVAL EINVAL
|
|
|
|
define MCF_MAGIC MCF_MAGIC
|
|
|
|
define _UC_IGNFPU _UC_IGNFPU
|
|
|
|
define _UC_IGNSIGM _UC_IGNSIGM
|