module.h 802 B

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