Hi,
This is all that I can find that's related to ucontext and mcontext:
#define GREG_S0 3
#define GREG_S1 4
#define GREG_S2 5
#define GREG_S3 6
#define GREG_S4 7
#define GREG_S5 8
#define GREG_S6 9
#define GREG_S7 10
#define GREG_S8 11
#define GREG_SP 12
#define GREG_GP 13
#define GREG_RA 14
typedef int greg_t;
typedef greg_t gregset_t[38];
typedef struct mcontext
{
gregset_t gpregs;
} mcontext_t;
typedef struct ucontext
{
mcontext_t uc_mcontext;
} ucontext_t;
me2faster at excite dot com