162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2006 Atmark Techno, Inc. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _ASM_MICROBLAZE_MODULE_H 762306a36Sopenharmony_ci#define _ASM_MICROBLAZE_MODULE_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#include <asm-generic/module.h> 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci/* Microblaze Relocations */ 1262306a36Sopenharmony_ci#define R_MICROBLAZE_NONE 0 1362306a36Sopenharmony_ci#define R_MICROBLAZE_32 1 1462306a36Sopenharmony_ci#define R_MICROBLAZE_32_PCREL 2 1562306a36Sopenharmony_ci#define R_MICROBLAZE_64_PCREL 3 1662306a36Sopenharmony_ci#define R_MICROBLAZE_32_PCREL_LO 4 1762306a36Sopenharmony_ci#define R_MICROBLAZE_64 5 1862306a36Sopenharmony_ci#define R_MICROBLAZE_32_LO 6 1962306a36Sopenharmony_ci#define R_MICROBLAZE_SRO32 7 2062306a36Sopenharmony_ci#define R_MICROBLAZE_SRW32 8 2162306a36Sopenharmony_ci#define R_MICROBLAZE_64_NONE 9 2262306a36Sopenharmony_ci#define R_MICROBLAZE_32_SYM_OP_SYM 10 2362306a36Sopenharmony_ci/* Keep this the last entry. */ 2462306a36Sopenharmony_ci#define R_MICROBLAZE_NUM 11 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_citypedef struct { volatile int counter; } module_t; 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci#endif /* _ASM_MICROBLAZE_MODULE_H */ 29