1 /* Generated by ./xlat/gen.sh from ./xlat/kexec_arch_values.in; do not edit. */ 2 #if !(defined(KEXEC_ARCH_DEFAULT) || (defined(HAVE_DECL_KEXEC_ARCH_DEFAULT) && HAVE_DECL_KEXEC_ARCH_DEFAULT)) 3 # define KEXEC_ARCH_DEFAULT ( 0 << 16) 4 #endif 5 #if !(defined(KEXEC_ARCH_386) || (defined(HAVE_DECL_KEXEC_ARCH_386) && HAVE_DECL_KEXEC_ARCH_386)) 6 # define KEXEC_ARCH_386 ( 3 << 16) 7 #endif 8 #if !(defined(KEXEC_ARCH_68K) || (defined(HAVE_DECL_KEXEC_ARCH_68K) && HAVE_DECL_KEXEC_ARCH_68K)) 9 # define KEXEC_ARCH_68K ( 4 << 16) 10 #endif 11 #if !(defined(KEXEC_ARCH_X86_64) || (defined(HAVE_DECL_KEXEC_ARCH_X86_64) && HAVE_DECL_KEXEC_ARCH_X86_64)) 12 # define KEXEC_ARCH_X86_64 (62 << 16) 13 #endif 14 #if !(defined(KEXEC_ARCH_PPC) || (defined(HAVE_DECL_KEXEC_ARCH_PPC) && HAVE_DECL_KEXEC_ARCH_PPC)) 15 # define KEXEC_ARCH_PPC (20 << 16) 16 #endif 17 #if !(defined(KEXEC_ARCH_PPC64) || (defined(HAVE_DECL_KEXEC_ARCH_PPC64) && HAVE_DECL_KEXEC_ARCH_PPC64)) 18 # define KEXEC_ARCH_PPC64 (21 << 16) 19 #endif 20 #if !(defined(KEXEC_ARCH_IA_64) || (defined(HAVE_DECL_KEXEC_ARCH_IA_64) && HAVE_DECL_KEXEC_ARCH_IA_64)) 21 # define KEXEC_ARCH_IA_64 (50 << 16) 22 #endif 23 #if !(defined(KEXEC_ARCH_ARM) || (defined(HAVE_DECL_KEXEC_ARCH_ARM) && HAVE_DECL_KEXEC_ARCH_ARM)) 24 # define KEXEC_ARCH_ARM (40 << 16) 25 #endif 26 #if !(defined(KEXEC_ARCH_S390) || (defined(HAVE_DECL_KEXEC_ARCH_S390) && HAVE_DECL_KEXEC_ARCH_S390)) 27 # define KEXEC_ARCH_S390 (22 << 16) 28 #endif 29 #if !(defined(KEXEC_ARCH_SH) || (defined(HAVE_DECL_KEXEC_ARCH_SH) && HAVE_DECL_KEXEC_ARCH_SH)) 30 # define KEXEC_ARCH_SH (42 << 16) 31 #endif 32 #if !(defined(KEXEC_ARCH_MIPS_LE) || (defined(HAVE_DECL_KEXEC_ARCH_MIPS_LE) && HAVE_DECL_KEXEC_ARCH_MIPS_LE)) 33 # define KEXEC_ARCH_MIPS_LE (10 << 16) 34 #endif 35 #if !(defined(KEXEC_ARCH_MIPS) || (defined(HAVE_DECL_KEXEC_ARCH_MIPS) && HAVE_DECL_KEXEC_ARCH_MIPS)) 36 # define KEXEC_ARCH_MIPS ( 8 << 16) 37 #endif 38 39 #ifdef IN_MPERS 40 41 # error static const struct xlat kexec_arch_values in mpers mode 42 43 #else 44 45 static 46 const struct xlat kexec_arch_values[] = { 47 XLAT(KEXEC_ARCH_DEFAULT), 48 XLAT(KEXEC_ARCH_386), 49 XLAT(KEXEC_ARCH_68K), 50 XLAT(KEXEC_ARCH_X86_64), 51 XLAT(KEXEC_ARCH_PPC), 52 XLAT(KEXEC_ARCH_PPC64), 53 XLAT(KEXEC_ARCH_IA_64), 54 XLAT(KEXEC_ARCH_ARM), 55 XLAT(KEXEC_ARCH_S390), 56 XLAT(KEXEC_ARCH_SH), 57 XLAT(KEXEC_ARCH_MIPS_LE), 58 XLAT(KEXEC_ARCH_MIPS), 59 XLAT_END 60 }; 61 62 #endif /* !IN_MPERS */ 63