From owner-p4-projects@FreeBSD.ORG Tue Jun 15 11:01:50 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3ABDD16A4D0; Tue, 15 Jun 2004 11:01:50 +0000 (GMT) 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 0CE1216A4CE for ; Tue, 15 Jun 2004 11:01:50 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0791F43D55 for ; Tue, 15 Jun 2004 11:01:50 +0000 (GMT) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5FB16xF024424 for ; Tue, 15 Jun 2004 11:01:06 GMT (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5FB161l024421 for perforce@freebsd.org; Tue, 15 Jun 2004 11:01:06 GMT (envelope-from jmallett@freebsd.org) Date: Tue, 15 Jun 2004 11:01:06 GMT Message-Id: <200406151101.i5FB161l024421@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 55003 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: Tue, 15 Jun 2004 11:01:51 -0000 http://perforce.freebsd.org/chv.cgi?CH=55003 Change 55003 by jmallett@jmallett_oingo on 2004/06/15 11:00:14 Grow back a VCED handler. Affected files ... .. //depot/projects/mips/sys/mips/mips/exception.S#29 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/exception.S#29 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/mips/sys/mips/mips/exception.S#28 $ + * $P4: //depot/projects/mips/sys/mips/mips/exception.S#29 $ */ #include "opt_ddb.h" @@ -78,7 +78,7 @@ .dword GenericException /* Res (28) */ .dword GenericException /* Res (29) */ .dword GenericException /* Res (30) */ - .dword GenericException /* VCED */ + .dword VCED /* VCED */ .text .set noreorder @@ -224,6 +224,20 @@ VEND(XTLBMissVector) /* + * Handle a data-cache virtual coherency error. + */ +LEAF(VCED) + .set noat + dmfc0 k0, MIPS_COP_0_BAD_VADDR + dsrl k0, 4 + dsll k0, 4 + cache (CACHE_R4K_SD | CACHEOP_R4K_HIT_WB_INV), 0(k0) + cache (CACHE_R4K_D | CACHEOP_R4K_HIT_INV), 0(k0) + eret + .set at +END(VCED) + +/* * Restore registers from a trapframe pointed to in k1, returning to ra * that is passed in, and kept in k0. */