Print this page
XXX AVX procfs

*** 1961,1971 **** #pragma weak td_thr_getxregsize = __td_thr_getxregsize /* ARGSUSED */ td_err_e __td_thr_getxregsize(td_thrhandle_t *th_p, int *xregsize) { - #if defined(__sparc) struct ps_prochandle *ph_p; td_err_e return_val; if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL) return (return_val); --- 1961,1970 ----
*** 1978,2001 **** return_val = TD_DBERR; (void) ps_pcontinue(ph_p); ph_unlock(th_p->th_ta_p); return (return_val); - #else /* __sparc */ - return (TD_NOXREGS); - #endif /* __sparc */ } /* * Get a thread's extra state register set. */ #pragma weak td_thr_getxregs = __td_thr_getxregs /* ARGSUSED */ td_err_e __td_thr_getxregs(td_thrhandle_t *th_p, void *xregset) { - #if defined(__sparc) struct ps_prochandle *ph_p; td_err_e return_val; if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL) return (return_val); --- 1977,1996 ----
*** 2008,2031 **** return_val = TD_DBERR; (void) ps_pcontinue(ph_p); ph_unlock(th_p->th_ta_p); return (return_val); - #else /* __sparc */ - return (TD_NOXREGS); - #endif /* __sparc */ } /* * Set a thread's extra state register set. */ #pragma weak td_thr_setxregs = __td_thr_setxregs /* ARGSUSED */ td_err_e __td_thr_setxregs(td_thrhandle_t *th_p, const void *xregset) { - #if defined(__sparc) struct ps_prochandle *ph_p; td_err_e return_val; if ((ph_p = ph_lock_th(th_p, &return_val)) == NULL) return (return_val); --- 2003,2022 ----
*** 2038,2050 **** return_val = TD_DBERR; (void) ps_pcontinue(ph_p); ph_unlock(th_p->th_ta_p); return (return_val); - #else /* __sparc */ - return (TD_NOXREGS); - #endif /* __sparc */ } struct searcher { psaddr_t addr; int status; --- 2029,2038 ----