root/tools/include/uapi/linux/hw_breakpoint.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2 #ifndef _UAPI_LINUX_HW_BREAKPOINT_H
   3 #define _UAPI_LINUX_HW_BREAKPOINT_H
   4 
   5 enum {
   6         HW_BREAKPOINT_LEN_1 = 1,
   7         HW_BREAKPOINT_LEN_2 = 2,
   8         HW_BREAKPOINT_LEN_3 = 3,
   9         HW_BREAKPOINT_LEN_4 = 4,
  10         HW_BREAKPOINT_LEN_5 = 5,
  11         HW_BREAKPOINT_LEN_6 = 6,
  12         HW_BREAKPOINT_LEN_7 = 7,
  13         HW_BREAKPOINT_LEN_8 = 8,
  14 };
  15 
  16 enum {
  17         HW_BREAKPOINT_EMPTY     = 0,
  18         HW_BREAKPOINT_R         = 1,
  19         HW_BREAKPOINT_W         = 2,
  20         HW_BREAKPOINT_RW        = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
  21         HW_BREAKPOINT_X         = 4,
  22         HW_BREAKPOINT_INVALID   = HW_BREAKPOINT_RW | HW_BREAKPOINT_X,
  23 };
  24 
  25 enum bp_type_idx {
  26         TYPE_INST       = 0,
  27 #ifdef CONFIG_HAVE_MIXED_BREAKPOINTS_REGS
  28         TYPE_DATA       = 0,
  29 #else
  30         TYPE_DATA       = 1,
  31 #endif
  32         TYPE_MAX
  33 };
  34 
  35 #endif /* _UAPI_LINUX_HW_BREAKPOINT_H */

/* [<][>][^][v][top][bottom][index][help] */