Print this page
XXX AVX procfs
@@ -119,10 +119,28 @@
extern void getgregs32(klwp_t *, gregset32_t);
extern void setfpregs32(klwp_t *, fpregset32_t *);
extern void getfpregs32(klwp_t *, fpregset32_t *);
#endif
+struct ucontext;
+extern void xregs_clrptr(struct _klwp *, struct ucontext *);
+extern int xregs_hasptr(struct _klwp *, struct ucontext *);
+extern caddr_t xregs_getptr(struct _klwp *, struct ucontext *);
+extern void xregs_setptr(struct _klwp *, struct ucontext *, caddr_t);
+
+#if defined(_SYSCALL32_IMPL)
+struct ucontext32;
+extern void xregs_clrptr32(struct _klwp *, struct ucontext32 *);
+extern int xregs_hasptr32(struct _klwp *, struct ucontext32 *);
+extern caddr32_t xregs_getptr32(struct _klwp *, struct ucontext32 *);
+extern void xregs_setptr32(struct _klwp *, struct ucontext32 *, caddr32_t);
+#endif /* _SYSCALL32_IMPL */
+
+extern void xregs_get(struct _klwp *, caddr_t);
+extern void xregs_set(struct _klwp *, caddr_t);
+extern int xregs_getsize(struct proc *);
+
struct fpu_ctx;
extern void fp_free(struct fpu_ctx *, int);
extern void fp_save(struct fpu_ctx *);
extern void fp_restore(struct fpu_ctx *);