2 #define IFX_CACHE_EXTRA_INVALID_TAG \
3 mtc0 zero, CP0_TAGLO, 1; \
4 mtc0 zero, CP0_TAGLO, 2; \
5 mtc0 zero, CP0_TAGLO, 3; \
6 mtc0 zero, CP0_TAGLO, 4;
8 #define IFX_CACHE_EXTRA_OPERATION \
16 move a2, t2; /* icacheSize */ \
17 move a3, t4; /* icacheLineSize */ \
19 icacheop(a0,a1,a2,a3,(Index_Store_Tag_I)); \
27 /* 1: initialise dcache tags. */ \
29 /* cache line size */ \
30 li a2, CFG_CACHELINE_SIZE; \
31 /* kseg0 mem address */ \
33 li a3, CFG_CACHE_SETS * CFG_CACHE_WAYS; \
35 /* store tag (invalid, not locked) */ \
50 move a2, t3; /* dcacheSize */ \
51 move a3, t5; /* dcacheLineSize */ \
53 icacheop(a0,a1,a2,a3,(Index_Store_Tag_D)); \