Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * This file is subject to the terms and conditions of the GNU General Public
0004  * License.  See the file "COPYING" in the main directory of this archive
0005  * for more details.
0006  *
0007  * Copyright (C) 1994, 1995, 1996 by Ralf Baechle
0008  */
0009 #ifndef _ASM_CACHECTL
0010 #define _ASM_CACHECTL
0011 
0012 /*
0013  * Options for cacheflush system call
0014  */
0015 #define ICACHE  (1<<0)      /* flush instruction cache    */
0016 #define DCACHE  (1<<1)      /* writeback and flush data cache */
0017 #define BCACHE  (ICACHE|DCACHE) /* flush both caches          */
0018 
0019 /*
0020  * Caching modes for the cachectl(2) call
0021  *
0022  * cachectl(2) is currently not supported and returns ENOSYS.
0023  */
0024 #define CACHEABLE   0   /* make pages cacheable */
0025 #define UNCACHEABLE 1   /* make pages uncacheable */
0026 
0027 #endif  /* _ASM_CACHECTL */