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 ↓ 19 lines elided ↑ open up ↑
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27   27  #ifndef _SYS_WATCHPOINT_H
  28   28  #define _SYS_WATCHPOINT_H
  29   29  
  30      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  31      -
  32   30  #include <sys/types.h>
  33   31  #include <vm/seg_enum.h>
  34   32  #include <sys/copyops.h>
  35   33  #include <sys/avl.h>
  36   34  
  37   35  #ifdef  __cplusplus
  38   36  extern "C" {
  39   37  #endif
  40   38  
  41   39  /*
↓ open down ↓ 25 lines elided ↑ open up ↑
  67   65          uchar_t wp_umap[3];     /* reference counts of user pr_mappage()s */
  68   66          uchar_t wp_kmap[3];     /* reference counts of kernel pr_mappage()s */
  69   67          ushort_t wp_flags;      /* see below */
  70   68          short   wp_read;        /* number of WA_READ areas in this page */
  71   69          short   wp_write;       /* number of WA_WRITE areas in this page */
  72   70          short   wp_exec;        /* number of WA_EXEC areas in this page */
  73   71  } watched_page_t;
  74   72  
  75   73  /* wp_flags */
  76   74  #define WP_NOWATCH      0x01    /* protections temporarily restored */
  77      -#define WP_SETPROT      0x02    /* SEGOP_SETPROT() needed on this page */
       75 +#define WP_SETPROT      0x02    /* segop_setprot() needed on this page */
  78   76  
  79   77  #ifdef  _KERNEL
  80   78  
  81   79  /*
  82   80   * These functions handle the necessary logic to perform the copy operation
  83   81   * while ignoring watchpoints.
  84   82   */
  85   83  extern int copyin_nowatch(const void *, void *, size_t);
  86   84  extern int copyout_nowatch(const void *, void *, size_t);
  87   85  extern int fuword32_nowatch(const void *, uint32_t *);
↓ open down ↓ 44 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX