From owner-p4-projects@FreeBSD.ORG Thu May 8 22:31:24 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 447E637B404; Thu, 8 May 2003 22:31:24 -0700 (PDT) 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 AC7A937B401 for ; Thu, 8 May 2003 22:31:23 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5756243F75 for ; Thu, 8 May 2003 22:31:23 -0700 (PDT) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h495VN0U020895 for ; Thu, 8 May 2003 22:31:23 -0700 (PDT) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h495VM3Q020890 for perforce@freebsd.org; Thu, 8 May 2003 22:31:22 -0700 (PDT) Date: Thu, 8 May 2003 22:31:22 -0700 (PDT) Message-Id: <200305090531.h495VM3Q020890@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 30833 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, 09 May 2003 05:31:25 -0000 http://perforce.freebsd.org/chv.cgi?CH=30833 Change 30833 by jmallett@jmallett_dalek on 2003/05/08 22:30:46 Don't assume that the badvaddr needs vm_min_kernel_address added to it, and print the exception ra in addition to the pc, so if it happens to be in bzero, you aren't totally left in the dark about where the problem is. Affected files ... .. //depot/projects/mips/sys/mips/mips/mips_subr.S#4 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/mips_subr.S#4 (text+ko) ==== @@ -1463,8 +1463,8 @@ sll k0, k0, PGSHIFT _MTC0 a0, MIPS_COP_0_EXC_PC # return to panic COP0_SYNC - li k1, VM_MIN_KERNEL_ADDRESS - addu a3, k0, k1 + move a3, k0 + move a4, ra #if defined(DDB) bltz sp, 1f # for ddb try to keep frame nop @@ -1476,7 +1476,7 @@ .set at END(MIPSX(TLBMissException)) - MSG("TLB out of universe: ksp %p epc %p vaddr %p") + MSG("TLB out of universe: ksp %p epc %p vaddr %p ra %p") /* * Mark where code entered from exception hander jumptable