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

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


#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat cacheflush_scope in mpers mode

# else

static const struct xlat_data cacheflush_scope_xdata[] = {
#if defined(FLUSH_SCOPE_LINE) || (defined(HAVE_DECL_FLUSH_SCOPE_LINE) && HAVE_DECL_FLUSH_SCOPE_LINE)
  XLAT(FLUSH_SCOPE_LINE),
 #define XLAT_VAL_0 ((unsigned) (FLUSH_SCOPE_LINE))
 #define XLAT_STR_0 STRINGIFY(FLUSH_SCOPE_LINE)
#endif
#if defined(FLUSH_SCOPE_PAGE) || (defined(HAVE_DECL_FLUSH_SCOPE_PAGE) && HAVE_DECL_FLUSH_SCOPE_PAGE)
  XLAT(FLUSH_SCOPE_PAGE),
 #define XLAT_VAL_1 ((unsigned) (FLUSH_SCOPE_PAGE))
 #define XLAT_STR_1 STRINGIFY(FLUSH_SCOPE_PAGE)
#endif
#if defined(FLUSH_SCOPE_ALL) || (defined(HAVE_DECL_FLUSH_SCOPE_ALL) && HAVE_DECL_FLUSH_SCOPE_ALL)
  XLAT(FLUSH_SCOPE_ALL),
 #define XLAT_VAL_2 ((unsigned) (FLUSH_SCOPE_ALL))
 #define XLAT_STR_2 STRINGIFY(FLUSH_SCOPE_ALL)
#endif
};
static
const struct xlat cacheflush_scope[1] = { {
 .data = cacheflush_scope_xdata,
 .size = ARRAY_SIZE(cacheflush_scope_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
  ,
 .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
  ,
} };

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

#endif /* !XLAT_MACROS_ONLY */
