Go to the documentation of this file. 1 #ifndef __ASM_SH_CPU_SH5_CACHE_H
2 #define __ASM_SH_CPU_SH5_CACHE_H
15 #define L1_CACHE_SHIFT 5
18 #define SH_CACHE_VALID (1LL<<0)
19 #define SH_CACHE_UPDATED (1LL<<57)
22 #define SH_CACHE_COMBINED 0
23 #define SH_CACHE_ASSOC 0
26 #define SH_CACHE_MODE_WT (1LL<<0)
27 #define SH_CACHE_MODE_WB (1LL<<1)
32 #define ICCR_BASE 0x01600000
35 #define ICCR0 ICCR_BASE+ICCR_REG0
36 #define ICCR1 ICCR_BASE+ICCR_REG1
42 #define ICCR1_NOLOCK 0x0
44 #define OCCR_BASE 0x01E00000
47 #define OCCR0 OCCR_BASE+OCCR_REG0
48 #define OCCR1 OCCR_BASE+OCCR_REG1
56 #define OCCR1_NOLOCK 0x0
77 #define CACHE_IC_ADDRESS_ARRAY 0x01000000
80 #define CACHE_OC_ADDRESS_ARRAY 0x01800000
87 #define CACHE_OC_N_SYNBITS 1
88 #define CACHE_OC_SYN_SHIFT 12
90 #define CACHE_OC_SYN_MASK (((1UL<<CACHE_OC_N_SYNBITS)-1)<<CACHE_OC_SYN_SHIFT)