Module Name: src Committed By: matt Date: Thu Nov 24 04:17:46 UTC 2011
Modified Files: src/sys/arch/mips/mips: trap.c Log Message: Print out the address in the ktlbmod panic. To generate a diff of this commit: cvs rdiff -u -r1.233 -r1.234 src/sys/arch/mips/mips/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/mips/trap.c diff -u src/sys/arch/mips/mips/trap.c:1.233 src/sys/arch/mips/mips/trap.c:1.234 --- src/sys/arch/mips/mips/trap.c:1.233 Thu Aug 18 21:04:23 2011 +++ src/sys/arch/mips/mips/trap.c Thu Nov 24 04:17:46 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.233 2011/08/18 21:04:23 matt Exp $ */ +/* $NetBSD: trap.c,v 1.234 2011/11/24 04:17:46 matt Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.233 2011/08/18 21:04:23 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.234 2011/11/24 04:17:46 matt Exp $"); #include "opt_cputype.h" /* which mips CPU levels do we support? */ #include "opt_ddb.h" @@ -258,7 +258,8 @@ trap(uint32_t status, uint32_t cause, va pte = kvtopte(vaddr); pt_entry = pte->pt_entry; if (!mips_pg_v(pt_entry)) { - panic("ktlbmod: invalid pte"); + panic("ktlbmod: %#"PRIxVADDR": invalid pte", + vaddr); } if (pt_entry & mips_pg_ro_bit()) { /* write to read only page in the kernel */