1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/qipcrtr_ports.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
7 static_assert((QRTR_PORT_CTRL) == (0xfffffffeU), "QRTR_PORT_CTRL != 0xfffffffeU");
8 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
9 #undef XLAT_PREV_VAL
10
11 #ifndef XLAT_MACROS_ONLY
12
13 # ifdef IN_MPERS
14
15 # error static const struct xlat qipcrtr_ports in mpers mode
16
17 # else
18
19 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
20 static const struct xlat_data qipcrtr_ports_xdata[] = {
21 XLAT(QRTR_PORT_CTRL),
22 #define XLAT_VAL_0 ((unsigned) (QRTR_PORT_CTRL))
23 #define XLAT_STR_0 STRINGIFY(QRTR_PORT_CTRL)
24 };
25 static
26 const struct xlat qipcrtr_ports[1] = { {
27 .data = qipcrtr_ports_xdata,
28 .size = ARRAY_SIZE(qipcrtr_ports_xdata),
29 .type = XT_NORMAL,
30 .flags_mask = 0
31 # ifdef XLAT_VAL_0
32 | XLAT_VAL_0
33 # endif
34 ,
35 .flags_strsz = 0
36 # ifdef XLAT_STR_0
37 + sizeof(XLAT_STR_0)
38 # endif
39 ,
40 } };
41 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
42
43 # undef XLAT_STR_0
44 # undef XLAT_VAL_0
45 # endif /* !IN_MPERS */
46
47 #endif /* !XLAT_MACROS_ONLY */