You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
478 B
20 lines
478 B
/*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef _ASM_CACHECTL
|
|
#define _ASM_CACHECTL
|
|
|
|
/*
|
|
* 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 */
|
|
|
|
#endif /* _ASM_CACHECTL */
|
|
|