1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _UAPI_LINUX_HW_BREAKPOINT_H 2 #ifndef _UAPI_LINUX_HW_BREAKPOINT_H 3 #define _UAPI_LINUX_HW_BREAKPOINT_H 3 #define _UAPI_LINUX_HW_BREAKPOINT_H 4 4 5 enum { 5 enum { 6 HW_BREAKPOINT_LEN_1 = 1, 6 HW_BREAKPOINT_LEN_1 = 1, 7 HW_BREAKPOINT_LEN_2 = 2, 7 HW_BREAKPOINT_LEN_2 = 2, 8 HW_BREAKPOINT_LEN_3 = 3, 8 HW_BREAKPOINT_LEN_3 = 3, 9 HW_BREAKPOINT_LEN_4 = 4, 9 HW_BREAKPOINT_LEN_4 = 4, 10 HW_BREAKPOINT_LEN_5 = 5, 10 HW_BREAKPOINT_LEN_5 = 5, 11 HW_BREAKPOINT_LEN_6 = 6, 11 HW_BREAKPOINT_LEN_6 = 6, 12 HW_BREAKPOINT_LEN_7 = 7, 12 HW_BREAKPOINT_LEN_7 = 7, 13 HW_BREAKPOINT_LEN_8 = 8, 13 HW_BREAKPOINT_LEN_8 = 8, 14 }; 14 }; 15 15 16 enum { 16 enum { 17 HW_BREAKPOINT_EMPTY = 0, 17 HW_BREAKPOINT_EMPTY = 0, 18 HW_BREAKPOINT_R = 1, 18 HW_BREAKPOINT_R = 1, 19 HW_BREAKPOINT_W = 2, 19 HW_BREAKPOINT_W = 2, 20 HW_BREAKPOINT_RW = HW_BREAKPOIN 20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W, 21 HW_BREAKPOINT_X = 4, 21 HW_BREAKPOINT_X = 4, 22 HW_BREAKPOINT_INVALID = HW_BREAKPOIN 22 HW_BREAKPOINT_INVALID = HW_BREAKPOINT_RW | HW_BREAKPOINT_X, 23 }; 23 }; 24 24 25 #endif /* _UAPI_LINUX_HW_BREAKPOINT_H */ 25 #endif /* _UAPI_LINUX_HW_BREAKPOINT_H */ 26 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.