Go to the documentation of this file.
11 #ifndef _ASM_PROC_CACHE_H
12 #define _ASM_PROC_CACHE_H
16 #define L1_CACHE_NWAYS 4
17 #define L1_CACHE_NENTRIES 256
18 #define L1_CACHE_BYTES 16
19 #define L1_CACHE_SHIFT 4
20 #define L1_CACHE_WAYDISP 0x1000
22 #define L1_CACHE_TAG_VALID 0x00000001
23 #define L1_CACHE_TAG_DIRTY 0x00000008
24 #define L1_CACHE_TAG_ENTRY 0x00000ff0
25 #define L1_CACHE_TAG_ADDRESS 0xfffff000
26 #define L1_CACHE_TAG_MASK +(L1_CACHE_TAG_ADDRESS|L1_CACHE_TAG_ENTRY)
32 #define MN10300_DCACHE_INV_RANGE_INTR_LOG2_INTERVAL 4
38 #define MN10300_DCACHE_FLUSH_BORDER \
39 +(L1_CACHE_NWAYS * L1_CACHE_NENTRIES * L1_CACHE_BYTES)
40 #define MN10300_DCACHE_FLUSH_INV_BORDER \
41 +(L1_CACHE_NWAYS * L1_CACHE_NENTRIES * L1_CACHE_BYTES)