• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/hw_breakpoint_len.in; do not edit. */
2 #if !(defined(HW_BREAKPOINT_LEN_1) || (defined(HAVE_DECL_HW_BREAKPOINT_LEN_1) && HAVE_DECL_HW_BREAKPOINT_LEN_1))
3 # define HW_BREAKPOINT_LEN_1 1
4 #endif
5 #if !(defined(HW_BREAKPOINT_LEN_2) || (defined(HAVE_DECL_HW_BREAKPOINT_LEN_2) && HAVE_DECL_HW_BREAKPOINT_LEN_2))
6 # define HW_BREAKPOINT_LEN_2 2
7 #endif
8 #if !(defined(HW_BREAKPOINT_LEN_4) || (defined(HAVE_DECL_HW_BREAKPOINT_LEN_4) && HAVE_DECL_HW_BREAKPOINT_LEN_4))
9 # define HW_BREAKPOINT_LEN_4 4
10 #endif
11 #if !(defined(HW_BREAKPOINT_LEN_8) || (defined(HAVE_DECL_HW_BREAKPOINT_LEN_8) && HAVE_DECL_HW_BREAKPOINT_LEN_8))
12 # define HW_BREAKPOINT_LEN_8 8
13 #endif
14 
15 #ifdef IN_MPERS
16 
17 # error static const struct xlat hw_breakpoint_len in mpers mode
18 
19 #else
20 
21 static
22 const struct xlat hw_breakpoint_len[] = {
23  XLAT(HW_BREAKPOINT_LEN_1),
24  XLAT(HW_BREAKPOINT_LEN_2),
25  XLAT(HW_BREAKPOINT_LEN_4),
26  XLAT(HW_BREAKPOINT_LEN_8),
27  XLAT_END
28 };
29 
30 #endif /* !IN_MPERS */
31