Path: blob/master/arch/m32r/include/asm/cachectl.h
10818 views
/*1* cachectl.h -- defines for M32R cache control system calls2*3* Copyright (C) 2003 by Kazuhiro Inaoka4*/5#ifndef __ASM_M32R_CACHECTL6#define __ASM_M32R_CACHECTL78/*9* Options for cacheflush system call10*11* cacheflush() is currently fluch_cache_all().12*/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_M32R_CACHECTL */262728