NetBSD Problem Report #11002

Received: (qmail 7134 invoked from network); 13 Sep 2000 11:56:54 -0000
Message-Id: <200009131156.EAA09642@nbwww.isc.org>
Date: Wed, 13 Sep 2000 04:56:54 -0700 (PDT)
From: shinta@sfc.wide.ad.jp
Reply-To: shinta@sfc.wide.ad.jp
To: gnats-bugs@gnats.netbsd.org
Subject: arch/mips/locore.h doesn't support VR4300
X-Send-Pr-Version: www-1.0

>Number:         11002
>Category:       port-mips
>Synopsis:       arch/mips/locore.h doesn't support VR4300
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mips-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 13 11:57:00 +0000 2000
>Closed-Date:    Sun May 07 09:57:27 +0000 2006
>Last-Modified:  Sun May 07 09:57:27 +0000 2006
>Originator:     Shinta Sugimoto
>Release:        NetBSD 1.4L
>Organization:
Keio University
>Environment:
NetBSD 1.4L

>Description:
Althoug arch/mips/locore.h says that it supports MIPS I and MIPS III,
there is no definition for VR4300(NEC) architecture.  To enable use of
VR4300, just add #ifdef case so that MachFlushDCache be defined
as mips3_FlushDCache.  I am sorry that my code(actually diff result) is old,
but I am sure that the current code(/src/sys/arch/mips/locore.h) also have
same problem. (I checked the code on cvsweb)


>How-To-Repeat:


>Fix:
*** sys/arch/mips/include/locore.h.org  Sat Sep 25 21:36:33 1999
--- sys/arch/mips/include/locore.h      Sat Nov  6 21:03:23 1999
***************
*** 140,145 ****
--- 140,147 ----
  #define MachFlushCache                mips3_FlushCache
  #if   defined(MIPS3_L2CACHE_ABSENT) && defined(MIPS3_4100)
  #define MachFlushDCache         mips3_FlushDCache             /* VR4100 */
+ #elif defined(MIPS3_L2CACHE_ABSENT) && defined(MIPS3_4300)
+ #define MachFlushDCache         mips3_FlushDCache             /* VR4300 */
  #elif defined(MIPS3_L2CACHE_ABSENT) && !defined(MIPS3_L2CACHE_PRESENT)
  #define MachFlushDCache               mips52xx_FlushDCache            /* RM520
0 */
  #elif !defined(MIPS3_L2CACHE_ABSENT) && defined(MIPS3_L2CACHE_PRESENT)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: tsutsui@netbsd.org
State-Changed-When: Fri, 24 Mar 2006 21:54:57 +0000
State-Changed-Why:
New thorpej-mips-cache branch has been merged and VR4300 is handled
as well as R4000 without L2 in current mips cache code.
Is it ok to close this PR?


State-Changed-From-To: feedback->closed
State-Changed-By: tsutsui@netbsd.org
State-Changed-When: Sun, 07 May 2006 09:57:27 +0000
State-Changed-Why:
Feedback timeout. Anyway we have not supported any VR4300 based machines yet.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.