module.h 592 B

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