selfmod.h 692 B

123456789101112131415161718192021222324
  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. #ifndef _ASM_MICROBLAZE_SELFMOD_H
  9. #define _ASM_MICROBLAZE_SELFMOD_H
  10. /*
  11. * BARRIER_BASE_ADDR is constant address for selfmod function.
  12. * do not change this value - selfmod function is in
  13. * arch/microblaze/kernel/selfmod.c: selfmod_function()
  14. *
  15. * last 16 bits is used for storing register offset
  16. */
  17. #define BARRIER_BASE_ADDR 0x1234ff00
  18. void selfmod_function(const int *arr_fce, const unsigned int base);
  19. #endif /* _ASM_MICROBLAZE_SELFMOD_H */