2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
* include/asm-v850/cache.h -- Cache operations
|
|
|
|
*
|
2005-07-27 18:44:56 +00:00
|
|
|
* Copyright (C) 2001,05 NEC Corporation
|
|
|
|
* Copyright (C) 2001,05 Miles Bader <miles@gnu.org>
|
2005-04-16 22:20:36 +00:00
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General
|
|
|
|
* Public License. See the file COPYING in the main directory of this
|
|
|
|
* archive for more details.
|
|
|
|
*
|
|
|
|
* Written by Miles Bader <miles@gnu.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __V850_CACHE_H__
|
|
|
|
#define __V850_CACHE_H__
|
|
|
|
|
|
|
|
/* All cache operations are machine-dependent. */
|
|
|
|
#include <asm/machdep.h>
|
|
|
|
|
|
|
|
#ifndef L1_CACHE_BYTES
|
|
|
|
/* This processor has no cache, so just choose an arbitrary value. */
|
|
|
|
#define L1_CACHE_BYTES 16
|
2005-07-27 18:44:56 +00:00
|
|
|
#define L1_CACHE_SHIFT 4
|
2005-04-16 22:20:36 +00:00
|
|
|
#endif
|
|
|
|
|
2005-07-27 18:44:56 +00:00
|
|
|
#define L1_CACHE_SHIFT_MAX L1_CACHE_SHIFT
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
#endif /* __V850_CACHE_H__ */
|