Go to the documentation of this file.
16 #ifndef _ASM_PROC_CACHE_H
17 #define _ASM_PROC_CACHE_H
22 #define L1_CACHE_NWAYS 4
23 #define L1_CACHE_NENTRIES 128
24 #define L1_CACHE_BYTES 32
25 #define L1_CACHE_SHIFT 5
26 #define L1_CACHE_WAYDISP 0x1000
28 #define L1_CACHE_TAG_VALID 0x00000001
29 #define L1_CACHE_TAG_DIRTY 0x00000008
30 #define L1_CACHE_TAG_ENTRY 0x00000fe0
31 #define L1_CACHE_TAG_ADDRESS 0xfffff000
32 #define L1_CACHE_TAG_MASK +(L1_CACHE_TAG_ADDRESS|L1_CACHE_TAG_ENTRY)
38 #define MN10300_DCACHE_INV_RANGE_INTR_LOG2_INTERVAL 4
44 #define MN10300_DCACHE_FLUSH_BORDER \
45 +(L1_CACHE_NWAYS * L1_CACHE_NENTRIES * L1_CACHE_BYTES)
46 #define MN10300_DCACHE_FLUSH_INV_BORDER \
47 +(L1_CACHE_NWAYS * L1_CACHE_NENTRIES * L1_CACHE_BYTES)