Subject: Fwd: Current kernel I modified works fine on SS-20/HyperSPARC
To: None <port-sparc@netbsd.org>
From: Erik E. Fair <fair@clock.org>
List: port-sparc
Date: 05/13/1999 03:26:20
I didn't want this important message for port-sparc to be lost in the
shuffle on current-users; it seems we might have the solution for
HyperSPARC CPU support:


>From:	YoshiyaEto <eto@sxo.nm.fujitsu.co.jp>
>To:	"'current-users@netbsd.org'" <current-users@netbsd.org>
>Subject: Current kernel I modified works fine on SS-20/HyperSPARC
>Date:	Wed, 12 May 1999 17:39:59 +0900
>MIME-Version: 1.0
>Sender: current-users-owner@netbsd.org
>Precedence: list
>Delivered-To: current-users@netbsd.org
>
>  I modified pmap.c of current-kernel for HyperSPARC.
>Now, that kernel works fine on my SS-20/HyperSPARC(150MHz).
>
>  HyperSPARC's MMU does not peek a modification of PTE.
>So,I add following two lines to setpgt4m() in pmap.c.
>
>+        if (cpuinfo.cpu_type == CPUTYP_HS_MBUS)
>+                tlb_flush_all();
>
>This modification is not so good,because only the related TLB entry should
>be flushed.
>
>Could someone brush up this modification and integrate this into source tree ?
>