Remove #ifdef'ed out PMAX_CACHEFLUSH_FORCES_WBFLUSH codes in cache
flush ops which has had no effect for long time.
This commit is contained in:
parent
30370336dc
commit
03bf9a2dc3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore_mips1.S,v 1.22 2000/02/23 17:04:06 mhitch Exp $ */
|
||||
/* $NetBSD: locore_mips1.S,v 1.23 2000/03/04 11:37:31 nisimura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -1445,17 +1445,6 @@ LEAF(mips1_FlushICache)
|
|||
j v1
|
||||
nop
|
||||
1:
|
||||
#ifdef PMAX_CACHEFLUSH_FORCES_WBFLUSH /* XXX */
|
||||
/*
|
||||
* The insn below attempts to wait for the writebuffer to drain.
|
||||
* It does not work on all MIPS hosts or maybe even all DEC machines.
|
||||
* It assumes that the COP0 usability bit is wired to external
|
||||
* writebuffer logic. This is not true on some DECstations or on
|
||||
* the SONY news3400.
|
||||
* Why we are even doing this for an I-cache flush is beyond me.
|
||||
*/
|
||||
bc0f 1b # make sure stores are complete
|
||||
#endif /* PMAX_CACHEFLUSH_FORCES_WBFLUSH */
|
||||
li v1, MIPS_SR_ISOL_CACHES | MIPS_SR_SWAP_CACHES # DELAYSLOT
|
||||
|
||||
mtc0 v1, MIPS_COP_0_STATUS
|
||||
|
@ -1494,18 +1483,6 @@ LEAF(mips1_FlushDCache)
|
|||
mtc0 zero, MIPS_COP_0_STATUS # Disable interrupts.
|
||||
nop
|
||||
|
||||
#ifdef PMAX_CACHEFLUSH_FORCES_WBFLUSH /* XXX */
|
||||
/*
|
||||
* The insn below attempts to wait for the writebuffer to drain.
|
||||
* It does not work on all MIPS hosts or maybe even all DEC machines.
|
||||
* It assumes that the COP0 usability bit is wired to external
|
||||
* writebuffer logic. This is not true on some DECstations or on
|
||||
* the SONY news3400. (note the following ld is in our delayslot.)
|
||||
*/
|
||||
1:
|
||||
bc0f 1b # make sure stores are complete
|
||||
#endif /* PMAX_CACHEFLUSH_FORCES_WBFLUSH */
|
||||
|
||||
li v1, MIPS_SR_ISOL_CACHES # DELAYSLOT
|
||||
mtc0 v1, MIPS_COP_0_STATUS
|
||||
nop
|
||||
|
|
Loading…
Reference in New Issue