Print this page
OS-6546 Use PCID if KPTI is enabled

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/os/mach_kdi.c
          +++ new/usr/src/uts/i86pc/os/mach_kdi.c
↓ open down ↓ 105 lines elided ↑ open up ↑
 106  106                  break;
 107  107          case 7:
 108  108                  kdi_setdr7(value);
 109  109                  break;
 110  110          default:
 111  111                  panic("invalid debug register dr%d", reg);
 112  112                  /*NOTREACHED*/
 113  113          }
 114  114  }
 115  115  
 116      -void
 117      -kdi_flush_caches(void)
 118      -{
 119      -        reload_cr3();
 120      -}
 121      -
 122  116  extern void kdi_slave_entry(void);
 123  117  
 124  118  void
 125  119  kdi_stop_slaves(int cpu, int doxc)
 126  120  {
 127  121          if (doxc)
 128  122                  kdi_xc_others(cpu, kdi_slave_entry);
 129  123  }
 130  124  
 131  125  /*
↓ open down ↓ 79 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX