1 /* Generated by ./xlat/gen.sh from ./xlat/uffd_api_features.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 
7 #ifndef XLAT_MACROS_ONLY
8 
9 # ifdef IN_MPERS
10 
11 #  error static const struct xlat uffd_api_features in mpers mode
12 
13 # else
14 
15 static
16 const struct xlat uffd_api_features[] = {
17 #if defined(UFFD_FEATURE_PAGEFAULT_FLAG_WP) || (defined(HAVE_DECL_UFFD_FEATURE_PAGEFAULT_FLAG_WP) && HAVE_DECL_UFFD_FEATURE_PAGEFAULT_FLAG_WP)
18   XLAT_TYPE(uint64_t, UFFD_FEATURE_PAGEFAULT_FLAG_WP),
19 #endif
20 #if defined(UFFD_FEATURE_EVENT_FORK) || (defined(HAVE_DECL_UFFD_FEATURE_EVENT_FORK) && HAVE_DECL_UFFD_FEATURE_EVENT_FORK)
21   XLAT_TYPE(uint64_t, UFFD_FEATURE_EVENT_FORK),
22 #endif
23 #if defined(UFFD_FEATURE_EVENT_REMAP) || (defined(HAVE_DECL_UFFD_FEATURE_EVENT_REMAP) && HAVE_DECL_UFFD_FEATURE_EVENT_REMAP)
24   XLAT_TYPE(uint64_t, UFFD_FEATURE_EVENT_REMAP),
25 #endif
26 #if defined(UFFD_FEATURE_EVENT_REMOVE) || (defined(HAVE_DECL_UFFD_FEATURE_EVENT_REMOVE) && HAVE_DECL_UFFD_FEATURE_EVENT_REMOVE)
27   XLAT_TYPE(uint64_t, UFFD_FEATURE_EVENT_REMOVE),
28 #endif
29 #if defined(UFFD_FEATURE_MISSING_HUGETLBFS) || (defined(HAVE_DECL_UFFD_FEATURE_MISSING_HUGETLBFS) && HAVE_DECL_UFFD_FEATURE_MISSING_HUGETLBFS)
30   XLAT_TYPE(uint64_t, UFFD_FEATURE_MISSING_HUGETLBFS),
31 #endif
32 #if defined(UFFD_FEATURE_MISSING_SHMEM) || (defined(HAVE_DECL_UFFD_FEATURE_MISSING_SHMEM) && HAVE_DECL_UFFD_FEATURE_MISSING_SHMEM)
33   XLAT_TYPE(uint64_t, UFFD_FEATURE_MISSING_SHMEM),
34 #endif
35 #if defined(UFFD_FEATURE_EVENT_UNMAP) || (defined(HAVE_DECL_UFFD_FEATURE_EVENT_UNMAP) && HAVE_DECL_UFFD_FEATURE_EVENT_UNMAP)
36   XLAT_TYPE(uint64_t, UFFD_FEATURE_EVENT_UNMAP),
37 #endif
38 #if defined(UFFD_FEATURE_SIGBUS) || (defined(HAVE_DECL_UFFD_FEATURE_SIGBUS) && HAVE_DECL_UFFD_FEATURE_SIGBUS)
39   XLAT_TYPE(uint64_t, UFFD_FEATURE_SIGBUS),
40 #endif
41 #if defined(UFFD_FEATURE_THREAD_ID) || (defined(HAVE_DECL_UFFD_FEATURE_THREAD_ID) && HAVE_DECL_UFFD_FEATURE_THREAD_ID)
42   XLAT_TYPE(uint64_t, UFFD_FEATURE_THREAD_ID),
43 #endif
44  XLAT_END
45 };
46 
47 # endif /* !IN_MPERS */
48 
49 #endif /* !XLAT_MACROS_ONLY */
50