Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/archvals.in; do not edit. */
      2 #if !(defined(ARCH_SET_GS) || (defined(HAVE_DECL_ARCH_SET_GS) && HAVE_DECL_ARCH_SET_GS))
      3 # define ARCH_SET_GS 0x1001
      4 #endif
      5 #if !(defined(ARCH_SET_FS) || (defined(HAVE_DECL_ARCH_SET_FS) && HAVE_DECL_ARCH_SET_FS))
      6 # define ARCH_SET_FS 0x1002
      7 #endif
      8 #if !(defined(ARCH_GET_FS) || (defined(HAVE_DECL_ARCH_GET_FS) && HAVE_DECL_ARCH_GET_FS))
      9 # define ARCH_GET_FS 0x1003
     10 #endif
     11 #if !(defined(ARCH_GET_GS) || (defined(HAVE_DECL_ARCH_GET_GS) && HAVE_DECL_ARCH_GET_GS))
     12 # define ARCH_GET_GS 0x1004
     13 #endif
     14 #if !(defined(ARCH_GET_CPUID) || (defined(HAVE_DECL_ARCH_GET_CPUID) && HAVE_DECL_ARCH_GET_CPUID))
     15 # define ARCH_GET_CPUID 0x1011
     16 #endif
     17 #if !(defined(ARCH_SET_CPUID) || (defined(HAVE_DECL_ARCH_SET_CPUID) && HAVE_DECL_ARCH_SET_CPUID))
     18 # define ARCH_SET_CPUID 0x1012
     19 #endif
     20 #if !(defined(ARCH_MAP_VDSO_X32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_X32) && HAVE_DECL_ARCH_MAP_VDSO_X32))
     21 # define ARCH_MAP_VDSO_X32 0x2001
     22 #endif
     23 #if !(defined(ARCH_MAP_VDSO_32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_32) && HAVE_DECL_ARCH_MAP_VDSO_32))
     24 # define ARCH_MAP_VDSO_32 0x2002
     25 #endif
     26 #if !(defined(ARCH_MAP_VDSO_64) || (defined(HAVE_DECL_ARCH_MAP_VDSO_64) && HAVE_DECL_ARCH_MAP_VDSO_64))
     27 # define ARCH_MAP_VDSO_64 0x2003
     28 #endif
     29 
     30 #ifdef IN_MPERS
     31 
     32 # error static const struct xlat archvals in mpers mode
     33 
     34 #else
     35 
     36 static
     37 const struct xlat archvals[] = {
     38  XLAT(ARCH_SET_GS),
     39  XLAT(ARCH_SET_FS),
     40  XLAT(ARCH_GET_FS),
     41  XLAT(ARCH_GET_GS),
     42  XLAT(ARCH_GET_CPUID),
     43  XLAT(ARCH_SET_CPUID),
     44  XLAT(ARCH_MAP_VDSO_X32),
     45  XLAT(ARCH_MAP_VDSO_32),
     46  XLAT(ARCH_MAP_VDSO_64),
     47  XLAT_END
     48 };
     49 
     50 #endif /* !IN_MPERS */
     51