1 #ifndef _ASM_ARM_MODULE_H 2 #define _ASM_ARM_MODULE_H 3 4 #define Elf_Shdr Elf32_Shdr 5 #define Elf_Sym Elf32_Sym 6 #define Elf_Ehdr Elf32_Ehdr 7 8 struct unwind_table; 9 10 #ifdef CONFIG_ARM_UNWIND 11 struct arm_unwind_mapping { 12 Elf_Shdr *unw_sec; 13 Elf_Shdr *sec_text; 14 struct unwind_table *unwind; 15 }; 16 enum { 17 ARM_SEC_INIT, 18 ARM_SEC_DEVINIT, 19 ARM_SEC_CORE, 20 ARM_SEC_EXIT, 21 ARM_SEC_DEVEXIT, 22 ARM_SEC_MAX, 23 }; 24 struct mod_arch_specific { 25 struct arm_unwind_mapping map[ARM_SEC_MAX]; 26 }; 27 #else 28 struct mod_arch_specific { 29 }; 30 #endif 31 32 /* 33 * Include the ARM architecture version. 34 */ 35 #define MODULE_ARCH_VERMAGIC "ARMv" __stringify(__LINUX_ARM_ARCH__) " " 36 37 #endif /* _ASM_ARM_MODULE_H */ 38