From owner-p4-projects@FreeBSD.ORG Thu Mar 11 19:07:32 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6D2C616A4D0; Thu, 11 Mar 2004 19:07:32 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 474BE16A4CE for ; Thu, 11 Mar 2004 19:07:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28F4D43D46 for ; Thu, 11 Mar 2004 19:07:32 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2C37VGe019495 for ; Thu, 11 Mar 2004 19:07:31 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2C37VbZ019491 for perforce@freebsd.org; Thu, 11 Mar 2004 19:07:31 -0800 (PST) (envelope-from jmallett@freebsd.org) Date: Thu, 11 Mar 2004 19:07:31 -0800 (PST) Message-Id: <200403120307.i2C37VbZ019491@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett To: Perforce Change Reviews Subject: PERFORCE change 48753 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 03:07:33 -0000 http://perforce.freebsd.org/chv.cgi?CH=48753 Change 48753 by jmallett@jmallett_oingo on 2004/03/11 19:07:21 Just disable cache errors in the cache vector. I'm getting a lot of cache vector hits, which I'm incredibly suspicious of. Also use a real copyright, much as I like it being PD... Affected files ... .. //depot/projects/mips/sys/mips/mips/exception.S#17 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/exception.S#17 (text+ko) ==== @@ -1,12 +1,29 @@ /*- - * Author: Juli Mallett - * Date: May 24, 2003 - * Description: - * FreeBSD/MIPS exception handling and related. + * Copyright (c) 2003-2004 Juli Mallett + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This file is in the public domain. + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. * - * $FreeBSD$ + * $P4: //depot/projects/mips/sys/mips/mips/exception.S#17 $ */ #include "opt_ddb.h" @@ -125,17 +142,14 @@ LEAF(CacheVector) .set noat - dla k0, __panic - li a0, 0 - li a1, 0 - dmtc0 k0, MIPS_COP_0_EXC_PC - dla a2, 1f + mfc0 k0, MIPS_COP_0_CONFIG + li k1, MIPS_SR_DIAG_PE + and k0, k1 + mtc0 k0, MIPS_COP_0_CONFIG + nop eret .set at VEND(CacheVector) - .data -1: .asciiz "CacheVector" - .text LEAF(TLBMissVector) .set noat