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