Subject: jonothan stone, fix your mailer!!!
To: None <port-mips@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: port-mips
Date: 04/17/2000 23:12:38
once again you are sending broken email!  please fix your stupid
broken gnus once and for all!


------- Forwarded Message

From port-mips-owner-mrg=eterna.com.au@netbsd.org  Mon Apr 17 20:29:52 2000
	by towers-of-dub.eterna.com.au (Postfix) with ESMTP id CA308240F
	for <mrg@towers-mail.eterna.com.au>; Mon, 17 Apr 2000 20:29:51 +1000 (EST)
	id 84CAE2652; Mon, 17 Apr 2000 20:29:39 +1000 (EST)
	by splode.eterna.com.au (Postfix) with SMTP id 5567A264E
	for <mrg@eterna.com.au>; Mon, 17 Apr 2000 20:29:34 +1000 (EST)
  by mail.netbsd.org with SMTP; 17 Apr 2000 10:29:30 -0000
	by champagne.dsg.stanford.edu (8.9.3/8.9.1) with ESMTP id DAA29266;
	Mon, 17 Apr 2000 03:28:59 -0700
Message-Id: <200004171028.DAA29266@champagne.dsg.stanford.edu>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
Subject: Re: flushing write buffer
To: simonb@NetBSD.ORG
Cc: port-mips@NetBSD.ORG
Date: Mon, 17 Apr 2000 03:28:59 -0700
Sender: port-mips-owner@netbsd.org


On  mar 28 2000 17:10:52, <nisimura@itc.aist-nara.ac.jp> writes:


>So, isn't it ok to provide generic but possibly less-optimal default;
>
>        LEAF(mips1_wbflush)
>                lui     v0, 0x8000
>                lw      v0, 0(v0)
>                j       ra
>                nop
>                END(mips1_wbflush)
>

To get kseg1, shouldn't the high-order address be 0xA000?.

Otherwise: nearly. But there cannot be a generic mips1
mips1_wbflush(), since the hardware for r2000 is different from
r2000a/r3000, which is in turn different from r3000a and later.

the function aboce is really a mips_r3000a_wbflush().

Similarly, the function currently called mips1_wbflush() should be
called mips_r2000a_wbflush(), since that's the approved way to flush
r3000s (NB: r2000a is basically an r3000 core in r2000-pin-compatible
package).  That's why I put that code in arch/mips, instead of
arch/pmax.  Then the names got muddled up when we changed from
{r2000,r4000}_xxx to {mips1,mips3}_xxx.

For pre-r2000A (i.e., real r2000s), you're stuck with going to
motherboard-specific hacks like the pmax kn210_wbflush, as far as I know.


------- End of Forwarded Message