Path: blob/master/arch/mips/include/asm/cachectl.h
17281 views
/*1* This file is subject to the terms and conditions of the GNU General Public2* License. See the file "COPYING" in the main directory of this archive3* for more details.4*5* Copyright (C) 1994, 1995, 1996 by Ralf Baechle6*/7#ifndef _ASM_CACHECTL8#define _ASM_CACHECTL910/*11* Options for cacheflush system call12*/13#define ICACHE (1<<0) /* flush instruction cache */14#define DCACHE (1<<1) /* writeback and flush data cache */15#define BCACHE (ICACHE|DCACHE) /* flush both caches */1617/*18* Caching modes for the cachectl(2) call19*20* cachectl(2) is currently not supported and returns ENOSYS.21*/22#define CACHEABLE 0 /* make pages cacheable */23#define UNCACHEABLE 1 /* make pages uncacheable */2425#endif /* _ASM_CACHECTL */262728