From owner-p4-projects@FreeBSD.ORG Thu Jul 20 13:33:36 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5D06E16A4E2; Thu, 20 Jul 2006 13:33:36 +0000 (UTC) X-Original-To: perforce@freebsd.org 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 39C5416A4E0 for ; Thu, 20 Jul 2006 13:33:36 +0000 (UTC) (envelope-from ssouhlal@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C831143D53 for ; Thu, 20 Jul 2006 13:33:35 +0000 (GMT) (envelope-from ssouhlal@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6KDXZ0I003881 for ; Thu, 20 Jul 2006 13:33:35 GMT (envelope-from ssouhlal@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6KDXZN2003878 for perforce@freebsd.org; Thu, 20 Jul 2006 13:33:35 GMT (envelope-from ssouhlal@freebsd.org) Date: Thu, 20 Jul 2006 13:33:35 GMT Message-Id: <200607201333.k6KDXZN2003878@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to ssouhlal@freebsd.org using -f From: Suleiman Souhlal To: Perforce Change Reviews Cc: Subject: PERFORCE change 101995 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 13:33:36 -0000 http://perforce.freebsd.org/chv.cgi?CH=101995 Change 101995 by ssouhlal@ssouhlal-maho on 2006/07/20 13:32:38 Install the XTLB miss handler. Affected files ... .. //depot/projects/mips2/src/sys/mips/include/cpuregs.h#6 edit .. //depot/projects/mips2/src/sys/mips/mips/cpu.c#12 edit .. //depot/projects/mips2/src/sys/mips/mips/exception.S#5 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/cpuregs.h#6 (text+ko) ==== @@ -180,6 +180,7 @@ #define MIPS_VEC_RESET 0xBFC00000 /* Hard, soft, or NMI */ #define MIPS_VEC_EJTAG 0xBFC00480 #define MIPS_VEC_TLB 0x80000000 +#define MIPS_VEC_XTLB 0x80000080 #define MIPS_VEC_CACHE 0x80000100 #define MIPS_VEC_GENERIC 0x80000180 /* Most exceptions */ #define MIPS_VEC_INTERRUPT 0x80000200 ==== //depot/projects/mips2/src/sys/mips/mips/cpu.c#12 (text+ko) ==== @@ -67,6 +67,7 @@ class ## VectorEnd) MIPS_DECLARE_VECTOR(TLBMiss); +MIPS_DECLARE_VECTOR(XTLBMiss); MIPS_DECLARE_VECTOR(Cache); MIPS_DECLARE_VECTOR(Exception); @@ -92,6 +93,7 @@ { MIPS_INSTALL_VECTOR(TLB, TLBMiss); + MIPS_INSTALL_VECTOR(XTLB, XTLBMiss); MIPS_INSTALL_VECTOR(CACHE, Cache); MIPS_INSTALL_VECTOR(INTERRUPT, Exception); /* XXX */ MIPS_INSTALL_VECTOR(GENERIC, Exception); ==== //depot/projects/mips2/src/sys/mips/mips/exception.S#5 (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/mips2/src/sys/mips/mips/exception.S#4 $ + * $P4: //depot/projects/mips2/src/sys/mips/mips/exception.S#5 $ */ #include "opt_ddb.h"