Print this page
XXX AVX procfs

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sys/archsystm.h
          +++ new/usr/src/uts/intel/sys/archsystm.h
↓ open down ↓ 113 lines elided ↑ open up ↑
 114  114  extern void getgregs(klwp_t *, gregset_t);
 115  115  extern void setfpregs(klwp_t *, fpregset_t *);
 116  116  extern void getfpregs(klwp_t *, fpregset_t *);
 117  117  
 118  118  #if defined(_SYSCALL32_IMPL)
 119  119  extern void getgregs32(klwp_t *, gregset32_t);
 120  120  extern void setfpregs32(klwp_t *, fpregset32_t *);
 121  121  extern void getfpregs32(klwp_t *, fpregset32_t *);
 122  122  #endif
 123  123  
      124 +struct ucontext;
      125 +extern void xregs_clrptr(struct _klwp *, struct ucontext *);
      126 +extern int xregs_hasptr(struct _klwp *, struct ucontext *);
      127 +extern caddr_t xregs_getptr(struct _klwp *, struct ucontext *);
      128 +extern void xregs_setptr(struct _klwp *, struct ucontext *, caddr_t);
      129 +
      130 +#if defined(_SYSCALL32_IMPL)
      131 +struct ucontext32;
      132 +extern void xregs_clrptr32(struct _klwp *, struct ucontext32 *);
      133 +extern int xregs_hasptr32(struct _klwp *, struct ucontext32 *);
      134 +extern caddr32_t xregs_getptr32(struct _klwp *, struct ucontext32 *);
      135 +extern void xregs_setptr32(struct _klwp *, struct ucontext32 *, caddr32_t);
      136 +#endif /* _SYSCALL32_IMPL */
      137 +
      138 +extern void xregs_get(struct _klwp *, caddr_t);
      139 +extern void xregs_set(struct _klwp *, caddr_t);
      140 +extern int xregs_getsize(struct proc *);
      141 +
 124  142  struct fpu_ctx;
 125  143  
 126  144  extern void fp_free(struct fpu_ctx *, int);
 127  145  extern void fp_save(struct fpu_ctx *);
 128  146  extern void fp_restore(struct fpu_ctx *);
 129  147  
 130  148  extern int fpu_pentium_fdivbug;
 131  149  
 132  150  extern void sep_save(void *);
 133  151  extern void sep_restore(void *);
↓ open down ↓ 81 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX