From d19b6669ebf86beb2bec8ef26287411924a71442 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Fri, 9 Sep 2005 20:26:54 +0000 Subject: [PATCH] --- yaml --- r: 11213 b: refs/heads/master c: 10a3dabddd79473130c6ded7f7cef1d55fccc115 h: refs/heads/master i: 11211: 59a5b0fd3b9638d5ab5951e221a85cbe9eeff708 v: v3 --- [refs] | 2 +- trunk/arch/mips/mm/c-r4k.c | 1 + trunk/arch/mips/mm/pg-r4k.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2f752fc7ec34..9ba599870edd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 02fe2c9ce3159f62339f30dfe62aeb6e4aa75d6e +refs/heads/master: 10a3dabddd79473130c6ded7f7cef1d55fccc115 diff --git a/trunk/arch/mips/mm/c-r4k.c b/trunk/arch/mips/mm/c-r4k.c index 586baf29fe88..aa87ae552170 100644 --- a/trunk/arch/mips/mm/c-r4k.c +++ b/trunk/arch/mips/mm/c-r4k.c @@ -481,6 +481,7 @@ static inline void local_r4k_flush_icache_range(void *args) if (end - start > dcache_size) { r4k_blast_dcache(); } else { + R4600_HIT_CACHEOP_WAR_IMPL; addr = start & ~(dc_lsize - 1); aend = (end - 1) & ~(dc_lsize - 1); diff --git a/trunk/arch/mips/mm/pg-r4k.c b/trunk/arch/mips/mm/pg-r4k.c index c9e6ee2a8a23..f51e180072e3 100644 --- a/trunk/arch/mips/mm/pg-r4k.c +++ b/trunk/arch/mips/mm/pg-r4k.c @@ -209,7 +209,7 @@ static inline void build_cdex_p(void) } if (R4600_V2_HIT_CACHEOP_WAR && cpu_is_r4600_v2_x()) - build_insn_word(0x8c200000); /* lw $zero, ($at) */ + build_insn_word(0x3c01a000); /* lui $at, 0xa000 */ mi.c_format.opcode = cache_op; mi.c_format.rs = 4; /* $a0 */