1 /* Generated by ./xlat/gen.sh from ./xlat/membarrier_cmds.in; do not edit. */
2 #if !(defined(MEMBARRIER_CMD_QUERY) || (defined(HAVE_DECL_MEMBARRIER_CMD_QUERY) && HAVE_DECL_MEMBARRIER_CMD_QUERY))
3 # define MEMBARRIER_CMD_QUERY 0
4 #endif
5 #if !(defined(MEMBARRIER_CMD_GLOBAL) || (defined(HAVE_DECL_MEMBARRIER_CMD_GLOBAL) && HAVE_DECL_MEMBARRIER_CMD_GLOBAL))
6 # define MEMBARRIER_CMD_GLOBAL 1 << 0
7 #endif
8 #if !(defined(MEMBARRIER_CMD_GLOBAL_EXPEDITED) || (defined(HAVE_DECL_MEMBARRIER_CMD_GLOBAL_EXPEDITED) && HAVE_DECL_MEMBARRIER_CMD_GLOBAL_EXPEDITED))
9 # define MEMBARRIER_CMD_GLOBAL_EXPEDITED 1 << 1
10 #endif
11 #if !(defined(MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED) || (defined(HAVE_DECL_MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED) && HAVE_DECL_MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED))
12 # define MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED 1 << 2
13 #endif
14 #if !(defined(MEMBARRIER_CMD_PRIVATE_EXPEDITED) || (defined(HAVE_DECL_MEMBARRIER_CMD_PRIVATE_EXPEDITED) && HAVE_DECL_MEMBARRIER_CMD_PRIVATE_EXPEDITED))
15 # define MEMBARRIER_CMD_PRIVATE_EXPEDITED 1 << 3
16 #endif
17 #if !(defined(MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED) || (defined(HAVE_DECL_MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED) && HAVE_DECL_MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED))
18 # define MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED 1 << 4
19 #endif
20 #if !(defined(MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE) || (defined(HAVE_DECL_MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE) && HAVE_DECL_MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE))
21 # define MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE 1 << 5
22 #endif
23 #if !(defined(MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE) || (defined(HAVE_DECL_MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE) && HAVE_DECL_MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE))
24 # define MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE 1 << 6
25 #endif
26 
27 #ifdef IN_MPERS
28 
29 # error static const struct xlat membarrier_cmds in mpers mode
30 
31 #else
32 
33 static
34 const struct xlat membarrier_cmds[] = {
35  XLAT(MEMBARRIER_CMD_QUERY),
36  XLAT(MEMBARRIER_CMD_GLOBAL),
37  XLAT(MEMBARRIER_CMD_GLOBAL_EXPEDITED),
38  XLAT(MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED),
39  XLAT(MEMBARRIER_CMD_PRIVATE_EXPEDITED),
40  XLAT(MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED),
41  XLAT(MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE),
42  XLAT(MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE),
43  XLAT_END
44 };
45 
46 #endif /* !IN_MPERS */
47