Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-v850/cache.h -- Cache operations |
| 3 | * |
Miles Bader | 8449d00 | 2005-07-27 11:44:56 -0700 | [diff] [blame] | 4 | * Copyright (C) 2001,05 NEC Corporation |
| 5 | * Copyright (C) 2001,05 Miles Bader <miles@gnu.org> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 14 | #ifndef __V850_CACHE_H__ |
| 15 | #define __V850_CACHE_H__ |
| 16 | |
| 17 | /* All cache operations are machine-dependent. */ |
| 18 | #include <asm/machdep.h> |
| 19 | |
| 20 | #ifndef L1_CACHE_BYTES |
| 21 | /* This processor has no cache, so just choose an arbitrary value. */ |
| 22 | #define L1_CACHE_BYTES 16 |
Miles Bader | 8449d00 | 2005-07-27 11:44:56 -0700 | [diff] [blame] | 23 | #define L1_CACHE_SHIFT 4 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | #endif |
| 25 | |
Miles Bader | 8449d00 | 2005-07-27 11:44:56 -0700 | [diff] [blame] | 26 | #define L1_CACHE_SHIFT_MAX L1_CACHE_SHIFT |
| 27 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | #endif /* __V850_CACHE_H__ */ |