Print this page
patch lower-case-segops

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/watchpoint.h
          +++ new/usr/src/uts/common/sys/watchpoint.h
↓ open down ↓ 66 lines elided ↑ open up ↑
  67   67          uchar_t wp_umap[3];     /* reference counts of user pr_mappage()s */
  68   68          uchar_t wp_kmap[3];     /* reference counts of kernel pr_mappage()s */
  69   69          ushort_t wp_flags;      /* see below */
  70   70          short   wp_read;        /* number of WA_READ areas in this page */
  71   71          short   wp_write;       /* number of WA_WRITE areas in this page */
  72   72          short   wp_exec;        /* number of WA_EXEC areas in this page */
  73   73  } watched_page_t;
  74   74  
  75   75  /* wp_flags */
  76   76  #define WP_NOWATCH      0x01    /* protections temporarily restored */
  77      -#define WP_SETPROT      0x02    /* SEGOP_SETPROT() needed on this page */
       77 +#define WP_SETPROT      0x02    /* segop_setprot() needed on this page */
  78   78  
  79   79  #ifdef  _KERNEL
  80   80  
  81   81  /*
  82   82   * These functions handle the necessary logic to perform the copy operation
  83   83   * while ignoring watchpoints.
  84   84   */
  85   85  extern int copyin_nowatch(const void *, void *, size_t);
  86   86  extern int copyout_nowatch(const void *, void *, size_t);
  87   87  extern int fuword32_nowatch(const void *, uint32_t *);
↓ open down ↓ 44 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX