1239844Sdes/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2239844Sdes#ifndef _UAPI_LINUX_HW_BREAKPOINT_H 3239844Sdes#define _UAPI_LINUX_HW_BREAKPOINT_H 4239844Sdes 5239844Sdesenum { 6239844Sdes HW_BREAKPOINT_LEN_1 = 1, 7239844Sdes HW_BREAKPOINT_LEN_2 = 2, 8239844Sdes HW_BREAKPOINT_LEN_3 = 3, 9239844Sdes HW_BREAKPOINT_LEN_4 = 4, 10239844Sdes HW_BREAKPOINT_LEN_5 = 5, 11239844Sdes HW_BREAKPOINT_LEN_6 = 6, 12239844Sdes HW_BREAKPOINT_LEN_7 = 7, 13239844Sdes HW_BREAKPOINT_LEN_8 = 8, 14239844Sdes}; 15239844Sdes 16239844Sdesenum { 17239844Sdes HW_BREAKPOINT_EMPTY = 0, 18239844Sdes HW_BREAKPOINT_R = 1, 19239844Sdes HW_BREAKPOINT_W = 2, 20239844Sdes HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W, 21239844Sdes HW_BREAKPOINT_X = 4, 22239844Sdes HW_BREAKPOINT_INVALID = HW_BREAKPOINT_RW | HW_BREAKPOINT_X, 23239844Sdes}; 24239844Sdes 25239844Sdes#endif /* _UAPI_LINUX_HW_BREAKPOINT_H */ 26239844Sdes