xref: /OK3568_Linux_fs/kernel/arch/nds32/include/uapi/asm/cachectl.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 // Copyright (C) 1994, 1995, 1996 by Ralf Baechle
3 // Copyright (C) 2005-2017 Andes Technology Corporation
4 #ifndef	_ASM_CACHECTL
5 #define	_ASM_CACHECTL
6 
7 /*
8  * Options for cacheflush system call
9  */
10 #define	ICACHE	0		/* flush instruction cache        */
11 #define	DCACHE	1		/* writeback and flush data cache */
12 #define	BCACHE	2		/* flush instruction cache + writeback and flush data cache */
13 
14 #endif /* _ASM_CACHECTL */
15