Print this page
XXX AVX procfs

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/amd64/sys/privregs.h
          +++ new/usr/src/uts/intel/amd64/sys/privregs.h
↓ open down ↓ 102 lines elided ↑ open up ↑
 103  103  
 104  104  #define r_r0    r_rax   /* r0 for portability */
 105  105  #define r_r1    r_rdx   /* r1 for portability */
 106  106  #define r_fp    r_rbp   /* kernel frame pointer */
 107  107  #define r_sp    r_rsp   /* user stack pointer */
 108  108  #define r_pc    r_rip   /* user's instruction pointer */
 109  109  #define r_ps    r_rfl   /* user's RFLAGS */
 110  110  
 111  111  #ifdef _KERNEL
 112  112  #define lwptoregs(lwp)  ((struct regs *)((lwp)->lwp_regs))
      113 +#define lwptofpu(lwp)   ((kfpu_t *)((lwp)->lwp_fpu))
 113  114  #endif /* _KERNEL */
 114  115  
 115  116  #else   /* !_ASM */
 116  117  
 117  118  #if defined(_MACHDEP)
 118  119  
 119  120  #include <sys/machprivregs.h>
 120  121  #include <sys/pcb.h>
 121  122  
 122  123  /*
↓ open down ↓ 208 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX