1/* Generated by ./xlat/gen.sh from ./xlat/hw_breakpoint_type.in; do not edit. */ 2#if !(defined(HW_BREAKPOINT_EMPTY) || (defined(HAVE_DECL_HW_BREAKPOINT_EMPTY) && HAVE_DECL_HW_BREAKPOINT_EMPTY)) 3# define HW_BREAKPOINT_EMPTY 0 4#endif 5#if !(defined(HW_BREAKPOINT_R) || (defined(HAVE_DECL_HW_BREAKPOINT_R) && HAVE_DECL_HW_BREAKPOINT_R)) 6# define HW_BREAKPOINT_R 1 7#endif 8#if !(defined(HW_BREAKPOINT_W) || (defined(HAVE_DECL_HW_BREAKPOINT_W) && HAVE_DECL_HW_BREAKPOINT_W)) 9# define HW_BREAKPOINT_W 2 10#endif 11#if !(defined(HW_BREAKPOINT_RW) || (defined(HAVE_DECL_HW_BREAKPOINT_RW) && HAVE_DECL_HW_BREAKPOINT_RW)) 12# define HW_BREAKPOINT_RW HW_BREAKPOINT_R | HW_BREAKPOINT_W 13#endif 14#if !(defined(HW_BREAKPOINT_X) || (defined(HAVE_DECL_HW_BREAKPOINT_X) && HAVE_DECL_HW_BREAKPOINT_X)) 15# define HW_BREAKPOINT_X 4 16#endif 17 18#ifdef IN_MPERS 19 20# error static const struct xlat hw_breakpoint_type in mpers mode 21 22#else 23 24static 25const struct xlat hw_breakpoint_type[] = { 26 XLAT(HW_BREAKPOINT_EMPTY), 27 XLAT(HW_BREAKPOINT_R), 28 XLAT(HW_BREAKPOINT_W), 29 XLAT(HW_BREAKPOINT_RW), 30 XLAT(HW_BREAKPOINT_X), 31 /* this array should remain not NULL-terminated */ 32}; 33 34#endif /* !IN_MPERS */ 35