]>
Commit | Line | Data |
---|---|---|
37069abf MS |
1 | /* |
2 | * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu> | |
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_SELFMOD_H | |
10 | #define _ASM_MICROBLAZE_SELFMOD_H | |
11 | ||
12 | /* | |
13 | * BARRIER_BASE_ADDR is constant address for selfmod function. | |
14 | * do not change this value - selfmod function is in | |
15 | * arch/microblaze/kernel/selfmod.c: selfmod_function() | |
16 | * | |
17 | * last 16 bits is used for storing register offset | |
18 | */ | |
19 | ||
20 | #define BARRIER_BASE_ADDR 0x1234ff00 | |
21 | ||
22 | void selfmod_function(const int *arr_fce, const unsigned int base); | |
23 | ||
24 | #endif /* _ASM_MICROBLAZE_SELFMOD_H */ |