blob: 17108905d75b51ef2fbb2270e3ee69f260c7efad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* $Id: cache.h,v 1.3 1999/12/11 12:31:51 gniibe Exp $
*
* include/asm-sh/cache.h
*
* Copyright 1999 (C) Niibe Yutaka
*/
#ifndef __ASM_SH_CACHE_H
#define __ASM_SH_CACHE_H
/* bytes per L1 cache line */
#if defined(__sh3__)
#define L1_CACHE_BYTES 16
#elif defined(__SH4__)
#define L1_CACHE_BYTES 32
#endif
extern void cache_flush_area(unsigned long start, unsigned long end);
extern void cache_purge_area(unsigned long start, unsigned long end);
extern void cache_wback_area(unsigned long start, unsigned long end);
#endif /* __ASM_SH_CACHE_H */
|