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

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

#if defined(ARCH_SET_GS) || (defined(HAVE_DECL_ARCH_SET_GS) && HAVE_DECL_ARCH_SET_GS)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_SET_GS) == (0x1001), "ARCH_SET_GS != 0x1001");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_SET_GS 0x1001
#endif
#if defined(ARCH_SET_FS) || (defined(HAVE_DECL_ARCH_SET_FS) && HAVE_DECL_ARCH_SET_FS)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_SET_FS) == (0x1002), "ARCH_SET_FS != 0x1002");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_SET_FS 0x1002
#endif
#if defined(ARCH_GET_FS) || (defined(HAVE_DECL_ARCH_GET_FS) && HAVE_DECL_ARCH_GET_FS)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_GET_FS) == (0x1003), "ARCH_GET_FS != 0x1003");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_GET_FS 0x1003
#endif
#if defined(ARCH_GET_GS) || (defined(HAVE_DECL_ARCH_GET_GS) && HAVE_DECL_ARCH_GET_GS)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_GET_GS) == (0x1004), "ARCH_GET_GS != 0x1004");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_GET_GS 0x1004
#endif
#if defined(ARCH_GET_CPUID) || (defined(HAVE_DECL_ARCH_GET_CPUID) && HAVE_DECL_ARCH_GET_CPUID)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_GET_CPUID) == (0x1011), "ARCH_GET_CPUID != 0x1011");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_GET_CPUID 0x1011
#endif
#if defined(ARCH_SET_CPUID) || (defined(HAVE_DECL_ARCH_SET_CPUID) && HAVE_DECL_ARCH_SET_CPUID)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_SET_CPUID) == (0x1012), "ARCH_SET_CPUID != 0x1012");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_SET_CPUID 0x1012
#endif
#if defined(ARCH_MAP_VDSO_X32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_X32) && HAVE_DECL_ARCH_MAP_VDSO_X32)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_MAP_VDSO_X32) == (0x2001), "ARCH_MAP_VDSO_X32 != 0x2001");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_MAP_VDSO_X32 0x2001
#endif
#if defined(ARCH_MAP_VDSO_32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_32) && HAVE_DECL_ARCH_MAP_VDSO_32)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_MAP_VDSO_32) == (0x2002), "ARCH_MAP_VDSO_32 != 0x2002");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_MAP_VDSO_32 0x2002
#endif
#if defined(ARCH_MAP_VDSO_64) || (defined(HAVE_DECL_ARCH_MAP_VDSO_64) && HAVE_DECL_ARCH_MAP_VDSO_64)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_MAP_VDSO_64) == (0x2003), "ARCH_MAP_VDSO_64 != 0x2003");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_MAP_VDSO_64 0x2003
#endif

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat archvals in mpers mode

# else

static const struct xlat_data archvals_xdata[] = {
 XLAT(ARCH_SET_GS),
 #define XLAT_VAL_0 ((unsigned) (ARCH_SET_GS))
 #define XLAT_STR_0 STRINGIFY(ARCH_SET_GS)
 XLAT(ARCH_SET_FS),
 #define XLAT_VAL_1 ((unsigned) (ARCH_SET_FS))
 #define XLAT_STR_1 STRINGIFY(ARCH_SET_FS)
 XLAT(ARCH_GET_FS),
 #define XLAT_VAL_2 ((unsigned) (ARCH_GET_FS))
 #define XLAT_STR_2 STRINGIFY(ARCH_GET_FS)
 XLAT(ARCH_GET_GS),
 #define XLAT_VAL_3 ((unsigned) (ARCH_GET_GS))
 #define XLAT_STR_3 STRINGIFY(ARCH_GET_GS)
 XLAT(ARCH_GET_CPUID),
 #define XLAT_VAL_4 ((unsigned) (ARCH_GET_CPUID))
 #define XLAT_STR_4 STRINGIFY(ARCH_GET_CPUID)
 XLAT(ARCH_SET_CPUID),
 #define XLAT_VAL_5 ((unsigned) (ARCH_SET_CPUID))
 #define XLAT_STR_5 STRINGIFY(ARCH_SET_CPUID)
 XLAT(ARCH_MAP_VDSO_X32),
 #define XLAT_VAL_6 ((unsigned) (ARCH_MAP_VDSO_X32))
 #define XLAT_STR_6 STRINGIFY(ARCH_MAP_VDSO_X32)
 XLAT(ARCH_MAP_VDSO_32),
 #define XLAT_VAL_7 ((unsigned) (ARCH_MAP_VDSO_32))
 #define XLAT_STR_7 STRINGIFY(ARCH_MAP_VDSO_32)
 XLAT(ARCH_MAP_VDSO_64),
 #define XLAT_VAL_8 ((unsigned) (ARCH_MAP_VDSO_64))
 #define XLAT_STR_8 STRINGIFY(ARCH_MAP_VDSO_64)
};
static
const struct xlat archvals[1] = { {
 .data = archvals_xdata,
 .size = ARRAY_SIZE(archvals_xdata),
 .type = XT_NORMAL,
 .flags_mask = 0
#  ifdef XLAT_VAL_0
  | XLAT_VAL_0
#  endif
#  ifdef XLAT_VAL_1
  | XLAT_VAL_1
#  endif
#  ifdef XLAT_VAL_2
  | XLAT_VAL_2
#  endif
#  ifdef XLAT_VAL_3
  | XLAT_VAL_3
#  endif
#  ifdef XLAT_VAL_4
  | XLAT_VAL_4
#  endif
#  ifdef XLAT_VAL_5
  | XLAT_VAL_5
#  endif
#  ifdef XLAT_VAL_6
  | XLAT_VAL_6
#  endif
#  ifdef XLAT_VAL_7
  | XLAT_VAL_7
#  endif
#  ifdef XLAT_VAL_8
  | XLAT_VAL_8
#  endif
  ,
 .flags_strsz = 0
#  ifdef XLAT_STR_0
  + sizeof(XLAT_STR_0)
#  endif
#  ifdef XLAT_STR_1
  + sizeof(XLAT_STR_1)
#  endif
#  ifdef XLAT_STR_2
  + sizeof(XLAT_STR_2)
#  endif
#  ifdef XLAT_STR_3
  + sizeof(XLAT_STR_3)
#  endif
#  ifdef XLAT_STR_4
  + sizeof(XLAT_STR_4)
#  endif
#  ifdef XLAT_STR_5
  + sizeof(XLAT_STR_5)
#  endif
#  ifdef XLAT_STR_6
  + sizeof(XLAT_STR_6)
#  endif
#  ifdef XLAT_STR_7
  + sizeof(XLAT_STR_7)
#  endif
#  ifdef XLAT_STR_8
  + sizeof(XLAT_STR_8)
#  endif
  ,
} };

#  undef XLAT_STR_0
#  undef XLAT_VAL_0
#  undef XLAT_STR_1
#  undef XLAT_VAL_1
#  undef XLAT_STR_2
#  undef XLAT_VAL_2
#  undef XLAT_STR_3
#  undef XLAT_VAL_3
#  undef XLAT_STR_4
#  undef XLAT_VAL_4
#  undef XLAT_STR_5
#  undef XLAT_VAL_5
#  undef XLAT_STR_6
#  undef XLAT_VAL_6
#  undef XLAT_STR_7
#  undef XLAT_VAL_7
#  undef XLAT_STR_8
#  undef XLAT_VAL_8
# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
