module.h 763 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _ASM_S390_MODULE_H
  2. #define _ASM_S390_MODULE_H
  3. #include <asm-generic/module.h>
  4. /*
  5. * This file contains the s390 architecture specific module code.
  6. */
  7. struct mod_arch_syminfo
  8. {
  9. unsigned long got_offset;
  10. unsigned long plt_offset;
  11. int got_initialized;
  12. int plt_initialized;
  13. };
  14. struct mod_arch_specific
  15. {
  16. /* Starting offset of got in the module core memory. */
  17. unsigned long got_offset;
  18. /* Starting offset of plt in the module core memory. */
  19. unsigned long plt_offset;
  20. /* Size of the got. */
  21. unsigned long got_size;
  22. /* Size of the plt. */
  23. unsigned long plt_size;
  24. /* Number of symbols in syminfo. */
  25. int nsyms;
  26. /* Additional symbol information (got and plt offsets). */
  27. struct mod_arch_syminfo *syminfo;
  28. };
  29. #endif /* _ASM_S390_MODULE_H */