mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-05-10 09:13:51 +00:00
This patch adds cache and tlb sync codes for abiv1 & abiv2. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
13 lines
246 B
C
13 lines
246 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __ASM_CSKY_CACHECTL_H
|
|
#define __ASM_CSKY_CACHECTL_H
|
|
|
|
/*
|
|
* See "man cacheflush"
|
|
*/
|
|
#define ICACHE (1<<0)
|
|
#define DCACHE (1<<1)
|
|
#define BCACHE (ICACHE|DCACHE)
|
|
|
|
#endif /* __ASM_CSKY_CACHECTL_H */
|