/* Generated by ./src/xlat/gen.sh from ./src/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_GS) || (defined(HAVE_DECL_ARCH_SET_GS) && HAVE_DECL_ARCH_SET_GS)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_SET_GS)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_SET_GS"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_SET_GS)
#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_SET_FS) || (defined(HAVE_DECL_ARCH_SET_FS) && HAVE_DECL_ARCH_SET_FS)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_SET_FS)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_SET_FS"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_SET_FS)
#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_FS) || (defined(HAVE_DECL_ARCH_GET_FS) && HAVE_DECL_ARCH_GET_FS)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_GET_FS)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_GET_FS"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_GET_FS)
#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_GS) || (defined(HAVE_DECL_ARCH_GET_GS) && HAVE_DECL_ARCH_GET_GS)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_GET_GS)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_GET_GS"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_GET_GS)
#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_GET_CPUID) || (defined(HAVE_DECL_ARCH_GET_CPUID) && HAVE_DECL_ARCH_GET_CPUID)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_GET_CPUID)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_GET_CPUID"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_GET_CPUID)
#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_SET_CPUID) || (defined(HAVE_DECL_ARCH_SET_CPUID) && HAVE_DECL_ARCH_SET_CPUID)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_SET_CPUID)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_SET_CPUID"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_SET_CPUID)
#endif
#if defined(ARCH_GET_XCOMP_SUPP) || (defined(HAVE_DECL_ARCH_GET_XCOMP_SUPP) && HAVE_DECL_ARCH_GET_XCOMP_SUPP)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_GET_XCOMP_SUPP) == (0x1021), "ARCH_GET_XCOMP_SUPP != 0x1021");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_GET_XCOMP_SUPP 0x1021
#endif
#if defined(ARCH_GET_XCOMP_SUPP) || (defined(HAVE_DECL_ARCH_GET_XCOMP_SUPP) && HAVE_DECL_ARCH_GET_XCOMP_SUPP)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_GET_XCOMP_SUPP)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_GET_XCOMP_SUPP"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_GET_XCOMP_SUPP)
#endif
#if defined(ARCH_GET_XCOMP_PERM) || (defined(HAVE_DECL_ARCH_GET_XCOMP_PERM) && HAVE_DECL_ARCH_GET_XCOMP_PERM)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_GET_XCOMP_PERM) == (0x1022), "ARCH_GET_XCOMP_PERM != 0x1022");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_GET_XCOMP_PERM 0x1022
#endif
#if defined(ARCH_GET_XCOMP_PERM) || (defined(HAVE_DECL_ARCH_GET_XCOMP_PERM) && HAVE_DECL_ARCH_GET_XCOMP_PERM)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_GET_XCOMP_PERM)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_GET_XCOMP_PERM"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_GET_XCOMP_PERM)
#endif
#if defined(ARCH_REQ_XCOMP_PERM) || (defined(HAVE_DECL_ARCH_REQ_XCOMP_PERM) && HAVE_DECL_ARCH_REQ_XCOMP_PERM)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_REQ_XCOMP_PERM) == (0x1023), "ARCH_REQ_XCOMP_PERM != 0x1023");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_REQ_XCOMP_PERM 0x1023
#endif
#if defined(ARCH_REQ_XCOMP_PERM) || (defined(HAVE_DECL_ARCH_REQ_XCOMP_PERM) && HAVE_DECL_ARCH_REQ_XCOMP_PERM)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_REQ_XCOMP_PERM)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_REQ_XCOMP_PERM"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_REQ_XCOMP_PERM)
#endif
#if defined(ARCH_GET_XCOMP_GUEST_PERM) || (defined(HAVE_DECL_ARCH_GET_XCOMP_GUEST_PERM) && HAVE_DECL_ARCH_GET_XCOMP_GUEST_PERM)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_GET_XCOMP_GUEST_PERM) == (0x1024), "ARCH_GET_XCOMP_GUEST_PERM != 0x1024");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_GET_XCOMP_GUEST_PERM 0x1024
#endif
#if defined(ARCH_GET_XCOMP_GUEST_PERM) || (defined(HAVE_DECL_ARCH_GET_XCOMP_GUEST_PERM) && HAVE_DECL_ARCH_GET_XCOMP_GUEST_PERM)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_GET_XCOMP_GUEST_PERM)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_GET_XCOMP_GUEST_PERM"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_GET_XCOMP_GUEST_PERM)
#endif
#if defined(ARCH_REQ_XCOMP_GUEST_PERM) || (defined(HAVE_DECL_ARCH_REQ_XCOMP_GUEST_PERM) && HAVE_DECL_ARCH_REQ_XCOMP_GUEST_PERM)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((ARCH_REQ_XCOMP_GUEST_PERM) == (0x1025), "ARCH_REQ_XCOMP_GUEST_PERM != 0x1025");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define ARCH_REQ_XCOMP_GUEST_PERM 0x1025
#endif
#if defined(ARCH_REQ_XCOMP_GUEST_PERM) || (defined(HAVE_DECL_ARCH_REQ_XCOMP_GUEST_PERM) && HAVE_DECL_ARCH_REQ_XCOMP_GUEST_PERM)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_REQ_XCOMP_GUEST_PERM)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_REQ_XCOMP_GUEST_PERM"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_REQ_XCOMP_GUEST_PERM)
#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_X32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_X32) && HAVE_DECL_ARCH_MAP_VDSO_X32)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_MAP_VDSO_X32)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_MAP_VDSO_X32"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_MAP_VDSO_X32)
#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_32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_32) && HAVE_DECL_ARCH_MAP_VDSO_32)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_MAP_VDSO_32)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_MAP_VDSO_32"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_MAP_VDSO_32)
#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
#if defined(ARCH_MAP_VDSO_64) || (defined(HAVE_DECL_ARCH_MAP_VDSO_64) && HAVE_DECL_ARCH_MAP_VDSO_64)
#if defined XLAT_PREV_VAL
static_assert((unsigned long long) (ARCH_MAP_VDSO_64)
      > (unsigned long long) (XLAT_PREV_VAL),
      "Incorrect order in #sorted xlat: ARCH_MAP_VDSO_64"
      " is not larger than the previous value");
#endif
#undef XLAT_PREV_VAL
#define XLAT_PREV_VAL (ARCH_MAP_VDSO_64)
#endif
#undef XLAT_PREV_VAL

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat archvals in mpers mode

# else

DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
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_GET_XCOMP_SUPP),
 #define XLAT_VAL_6 ((unsigned) (ARCH_GET_XCOMP_SUPP))
 #define XLAT_STR_6 STRINGIFY(ARCH_GET_XCOMP_SUPP)
 XLAT(ARCH_GET_XCOMP_PERM),
 #define XLAT_VAL_7 ((unsigned) (ARCH_GET_XCOMP_PERM))
 #define XLAT_STR_7 STRINGIFY(ARCH_GET_XCOMP_PERM)
 XLAT(ARCH_REQ_XCOMP_PERM),
 #define XLAT_VAL_8 ((unsigned) (ARCH_REQ_XCOMP_PERM))
 #define XLAT_STR_8 STRINGIFY(ARCH_REQ_XCOMP_PERM)
 XLAT(ARCH_GET_XCOMP_GUEST_PERM),
 #define XLAT_VAL_9 ((unsigned) (ARCH_GET_XCOMP_GUEST_PERM))
 #define XLAT_STR_9 STRINGIFY(ARCH_GET_XCOMP_GUEST_PERM)
 XLAT(ARCH_REQ_XCOMP_GUEST_PERM),
 #define XLAT_VAL_10 ((unsigned) (ARCH_REQ_XCOMP_GUEST_PERM))
 #define XLAT_STR_10 STRINGIFY(ARCH_REQ_XCOMP_GUEST_PERM)
 XLAT(ARCH_MAP_VDSO_X32),
 #define XLAT_VAL_11 ((unsigned) (ARCH_MAP_VDSO_X32))
 #define XLAT_STR_11 STRINGIFY(ARCH_MAP_VDSO_X32)
 XLAT(ARCH_MAP_VDSO_32),
 #define XLAT_VAL_12 ((unsigned) (ARCH_MAP_VDSO_32))
 #define XLAT_STR_12 STRINGIFY(ARCH_MAP_VDSO_32)
 XLAT(ARCH_MAP_VDSO_64),
 #define XLAT_VAL_13 ((unsigned) (ARCH_MAP_VDSO_64))
 #define XLAT_STR_13 STRINGIFY(ARCH_MAP_VDSO_64)
};
static
const struct xlat archvals[1] = { {
 .data = archvals_xdata,
 .size = ARRAY_SIZE(archvals_xdata),
 .type = XT_SORTED,
 .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
#  ifdef XLAT_VAL_9
  | XLAT_VAL_9
#  endif
#  ifdef XLAT_VAL_10
  | XLAT_VAL_10
#  endif
#  ifdef XLAT_VAL_11
  | XLAT_VAL_11
#  endif
#  ifdef XLAT_VAL_12
  | XLAT_VAL_12
#  endif
#  ifdef XLAT_VAL_13
  | XLAT_VAL_13
#  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
#  ifdef XLAT_STR_9
  + sizeof(XLAT_STR_9)
#  endif
#  ifdef XLAT_STR_10
  + sizeof(XLAT_STR_10)
#  endif
#  ifdef XLAT_STR_11
  + sizeof(XLAT_STR_11)
#  endif
#  ifdef XLAT_STR_12
  + sizeof(XLAT_STR_12)
#  endif
#  ifdef XLAT_STR_13
  + sizeof(XLAT_STR_13)
#  endif
  ,
} };
DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE

#  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
#  undef XLAT_STR_9
#  undef XLAT_VAL_9
#  undef XLAT_STR_10
#  undef XLAT_VAL_10
#  undef XLAT_STR_11
#  undef XLAT_VAL_11
#  undef XLAT_STR_12
#  undef XLAT_VAL_12
#  undef XLAT_STR_13
#  undef XLAT_VAL_13
# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
