2 * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu>
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
9 #ifndef _ASM_MICROBLAZE_SELFMOD_H
10 #define _ASM_MICROBLAZE_SELFMOD_H
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()
17 * last 16 bits is used for storing register offset
20 #define BARRIER_BASE_ADDR 0x1234ff00
22 void selfmod_function(const int *arr_fce
, const unsigned int base
);
24 #endif /* _ASM_MICROBLAZE_SELFMOD_H */