blob: 7be1347fce42c0649e8e0a7d7b7941bd4f43db63 [file] [log] [blame]
Michal Simekf6b165c2009-03-27 14:25:17 +01001/*
2 * Copyright (C) 2006 Atmark Techno, Inc.
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
6 * for more details.
7 */
8
9#ifndef _ASM_MICROBLAZE_MODULE_H
10#define _ASM_MICROBLAZE_MODULE_H
11
Remis Lima Baima0a584582009-06-18 19:55:33 +020012#include <asm-generic/module.h>
13
Michal Simekf6b165c2009-03-27 14:25:17 +010014/* Microblaze Relocations */
15#define R_MICROBLAZE_NONE 0
16#define R_MICROBLAZE_32 1
17#define R_MICROBLAZE_32_PCREL 2
18#define R_MICROBLAZE_64_PCREL 3
19#define R_MICROBLAZE_32_PCREL_LO 4
20#define R_MICROBLAZE_64 5
21#define R_MICROBLAZE_32_LO 6
22#define R_MICROBLAZE_SRO32 7
23#define R_MICROBLAZE_SRW32 8
24#define R_MICROBLAZE_64_NONE 9
25#define R_MICROBLAZE_32_SYM_OP_SYM 10
26/* Keep this the last entry. */
27#define R_MICROBLAZE_NUM 11
28
Michal Simekf6b165c2009-03-27 14:25:17 +010029typedef struct { volatile int counter; } module_t;
30
31#endif /* _ASM_MICROBLAZE_MODULE_H */