1 /* Generated by ./xlat/gen.sh from ./xlat/mmap_prot.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 mmap_prot in mpers mode 12 13 # else 14 15 static 16 const struct xlat mmap_prot[] = { 17 #if defined(PROT_NONE) || (defined(HAVE_DECL_PROT_NONE) && HAVE_DECL_PROT_NONE) 18 XLAT(PROT_NONE), 19 #endif 20 #if defined(PROT_READ) || (defined(HAVE_DECL_PROT_READ) && HAVE_DECL_PROT_READ) 21 XLAT(PROT_READ), 22 #endif 23 #if defined(PROT_WRITE) || (defined(HAVE_DECL_PROT_WRITE) && HAVE_DECL_PROT_WRITE) 24 XLAT(PROT_WRITE), 25 #endif 26 #if defined(PROT_EXEC) || (defined(HAVE_DECL_PROT_EXEC) && HAVE_DECL_PROT_EXEC) 27 XLAT(PROT_EXEC), 28 #endif 29 #if defined(PROT_SEM) || (defined(HAVE_DECL_PROT_SEM) && HAVE_DECL_PROT_SEM) 30 XLAT(PROT_SEM), 31 #endif 32 #if defined(PROT_GROWSDOWN) || (defined(HAVE_DECL_PROT_GROWSDOWN) && HAVE_DECL_PROT_GROWSDOWN) 33 XLAT(PROT_GROWSDOWN), 34 #endif 35 #if defined(PROT_GROWSUP) || (defined(HAVE_DECL_PROT_GROWSUP) && HAVE_DECL_PROT_GROWSUP) 36 XLAT(PROT_GROWSUP), 37 #endif 38 #if defined(PROT_SAO) || (defined(HAVE_DECL_PROT_SAO) && HAVE_DECL_PROT_SAO) 39 XLAT(PROT_SAO), 40 #endif 41 #if defined(PROT_ADI) || (defined(HAVE_DECL_PROT_ADI) && HAVE_DECL_PROT_ADI) 42 XLAT(PROT_ADI), 43 #endif 44 XLAT_END 45 }; 46 47 # endif /* !IN_MPERS */ 48 49 #endif /* !XLAT_MACROS_ONLY */ 50