mcontext_t
mcontext_t *mcp = &ucp->uc_mcontext;
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flagsp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_getmcontext_xsave(struct lwp *l, mcontext_t *mcp, unsigned int *flags,
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
CTASSERT(sizeof (mcontext_t) == 26 * 8 + 8 + 512);
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
static int cpu_getmcontext_xsave(struct lwp *, mcontext_t *, unsigned *,
error = cpu_mcontext_validate(l, (const mcontext_t *)regs);
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
void vfp_getcontext(struct lwp *, mcontext_t *, int *);
void vfp_setcontext(struct lwp *, const mcontext_t *);
vfp_getcontext(struct lwp *l, mcontext_t *mcp, int *flagsp)
vfp_setcontext(struct lwp *l, const mcontext_t *mcp)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_getmcontext_xsave(struct lwp *l, mcontext_t *mcp, unsigned int *flags,
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
static int cpu_getmcontext_xsave(struct lwp *, mcontext_t *, unsigned *,
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
mcontext_t mc;
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, u_int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, u_int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
mcontext_t mc;
cpu_getmcontext(l, (mcontext_t *)mc32, flagsp);
mcontext_t mc;
return cpu_setmcontext(l, (const mcontext_t *)mc32, flags);
vec_restore_from_mcontext(lwp_t *l, const mcontext_t *mcp)
vec_save_to_mcontext(lwp_t *l, mcontext_t *mcp, unsigned int *flagp)
void vec_restore_from_mcontext(struct lwp *, const mcontext_t *);
bool vec_save_to_mcontext(struct lwp *, mcontext_t *, unsigned int *);
void fpu_restore_from_mcontext(struct lwp *, const mcontext_t *);
bool fpu_save_to_mcontext(struct lwp *, mcontext_t *, unsigned int *);
vec_restore_from_mcontext(struct lwp *l, const mcontext_t *mcp)
vec_save_to_mcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flagp)
fpu_save_to_mcontext(lwp_t *l, mcontext_t *mcp, unsigned int *flagp)
fpu_restore_from_mcontext(lwp_t *l, const mcontext_t *mcp)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flagp)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mc)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mc)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
void netbsd32_cpu_getmcontext(struct lwp *, mcontext_t *, unsigned int *);
/* netbsd32_mcontext_t XXX */mcontext_t *mcp,
int netbsd32_cpu_setmcontext(struct lwp *, mcontext_t *, unsigned int);
/* XXX const netbsd32_*/mcontext_t *mcp,
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
memcpy(mcp, &ucp->uc_mcontext, sizeof(mcontext_t));
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags)
cpu_mcontext_validate(struct lwp *l, const mcontext_t *mcp)
cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags)
mcontext_t *mctx;
mctx = (mcontext_t *)&uctx.uc_mcontext;
void cpu_getmcontext(struct lwp *, mcontext_t *, unsigned int *);
int cpu_setmcontext(struct lwp *, const mcontext_t *, unsigned int);
int cpu_mcontext_validate(struct lwp *, const mcontext_t *);
mcontext_t uc_mcontext; /* machine state */