/* Generated by ./src/xlat/gen.sh from ./src/xlat/tls_info_versions.in; do not edit. */

#include "gcc_compat.h"
#include "static_assert.h"

DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((TLS_1_2_VERSION) == (0x303), "TLS_1_2_VERSION != 0x303");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((TLS_1_3_VERSION) == (0x304), "TLS_1_3_VERSION != 0x304");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#undef XLAT_PREV_VAL

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat tls_info_versions in mpers mode

# else

DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
static const struct xlat_data tls_info_versions_xdata[] = {
 XLAT(TLS_1_2_VERSION),
 #define XLAT_VAL_0 ((unsigned) (TLS_1_2_VERSION))
 #define XLAT_STR_0 STRINGIFY(TLS_1_2_VERSION)
 XLAT(TLS_1_3_VERSION),
 #define XLAT_VAL_1 ((unsigned) (TLS_1_3_VERSION))
 #define XLAT_STR_1 STRINGIFY(TLS_1_3_VERSION)
};
static
const struct xlat tls_info_versions[1] = { {
 .data = tls_info_versions_xdata,
 .size = ARRAY_SIZE(tls_info_versions_xdata),
 .type = XT_NORMAL,
 .flags_mask = 0
#  ifdef XLAT_VAL_0
  | XLAT_VAL_0
#  endif
#  ifdef XLAT_VAL_1
  | XLAT_VAL_1
#  endif
  ,
 .flags_strsz = 0
#  ifdef XLAT_STR_0
  + sizeof(XLAT_STR_0)
#  endif
#  ifdef XLAT_STR_1
  + sizeof(XLAT_STR_1)
#  endif
  ,
} };
DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE

#  undef XLAT_STR_0
#  undef XLAT_VAL_0
#  undef XLAT_STR_1
#  undef XLAT_VAL_1
# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
