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