cache.h 732 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * include/asm-v850/cache.h -- Cache operations
  3. *
  4. * Copyright (C) 2001,05 NEC Corporation
  5. * Copyright (C) 2001,05 Miles Bader <miles@gnu.org>
  6. *
  7. * This file is subject to the terms and conditions of the GNU General
  8. * Public License. See the file COPYING in the main directory of this
  9. * archive for more details.
  10. *
  11. * Written by Miles Bader <miles@gnu.org>
  12. */
  13. #ifndef __V850_CACHE_H__
  14. #define __V850_CACHE_H__
  15. /* All cache operations are machine-dependent. */
  16. #include <asm/machdep.h>
  17. #ifndef L1_CACHE_BYTES
  18. /* This processor has no cache, so just choose an arbitrary value. */
  19. #define L1_CACHE_BYTES 16
  20. #define L1_CACHE_SHIFT 4
  21. #endif
  22. #define L1_CACHE_SHIFT_MAX L1_CACHE_SHIFT
  23. #endif /* __V850_CACHE_H__ */