module.h 704 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2006 Atmark Techno, Inc.
  4. */
  5. #ifndef _ASM_MICROBLAZE_MODULE_H
  6. #define _ASM_MICROBLAZE_MODULE_H
  7. #include <asm-generic/module.h>
  8. /* Microblaze Relocations */
  9. #define R_MICROBLAZE_NONE 0
  10. #define R_MICROBLAZE_32 1
  11. #define R_MICROBLAZE_32_PCREL 2
  12. #define R_MICROBLAZE_64_PCREL 3
  13. #define R_MICROBLAZE_32_PCREL_LO 4
  14. #define R_MICROBLAZE_64 5
  15. #define R_MICROBLAZE_32_LO 6
  16. #define R_MICROBLAZE_SRO32 7
  17. #define R_MICROBLAZE_SRW32 8
  18. #define R_MICROBLAZE_64_NONE 9
  19. #define R_MICROBLAZE_32_SYM_OP_SYM 10
  20. /* Keep this the last entry. */
  21. #define R_MICROBLAZE_NUM 11
  22. typedef struct { volatile int counter; } module_t;
  23. #endif /* _ASM_MICROBLAZE_MODULE_H */