summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/asm/cache_info.h
blob: e89d8078f3a66f2166d8d73e7b669d56d86b86aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2005-2017 Andes Technology Corporation

struct cache_info {
	unsigned char ways;
	unsigned char line_size;
	unsigned short sets;
	unsigned short size;
#if defined(CONFIG_CPU_CACHE_ALIASING)
	unsigned short aliasing_num;
	unsigned int aliasing_mask;
#endif
};