| 1 | #ifndef __ASM_AVR32_MODULE_H |
| 2 | #define __ASM_AVR32_MODULE_H |
| 3 | |
| 4 | #include <asm-generic/module.h> |
| 5 | |
| 6 | struct mod_arch_syminfo { |
| 7 | unsigned long got_offset; |
| 8 | int got_initialized; |
| 9 | }; |
| 10 | |
| 11 | struct mod_arch_specific { |
| 12 | /* Starting offset of got in the module core memory. */ |
| 13 | unsigned long got_offset; |
| 14 | /* Size of the got. */ |
| 15 | unsigned long got_size; |
| 16 | /* Number of symbols in syminfo. */ |
| 17 | int nsyms; |
| 18 | /* Additional symbol information (got offsets). */ |
| 19 | struct mod_arch_syminfo *syminfo; |
| 20 | }; |
| 21 | |
| 22 | #define MODULE_PROC_FAMILY "AVR32v1" |
| 23 | |
| 24 | #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY |
| 25 | |
| 26 | #endif /* __ASM_AVR32_MODULE_H */ |