2024-09-09 08:52:07 +00:00
|
|
|
/*
|
|
|
|
* based on the mips/cachectl.h
|
|
|
|
*
|
|
|
|
* Copyright 2010 Analog Devices Inc.
|
|
|
|
* Copyright (C) 1994, 1995, 1996 by Ralf Baechle
|
|
|
|
*
|
|
|
|
* Licensed under the GPL-2 or later.
|
|
|
|
*/
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#ifndef _UAPI_ASM_CACHECTL
|
|
|
|
#define _UAPI_ASM_CACHECTL
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Options for cacheflush system call
|
|
|
|
*/
|
|
|
|
#define ICACHE (1<<0) /* flush instruction cache */
|
|
|
|
#define DCACHE (1<<1) /* writeback and flush data cache */
|
|
|
|
#define BCACHE (ICACHE|DCACHE) /* flush both caches */
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#endif /* _UAPI_ASM_CACHECTL */
|