Date: Sun, 2 Nov 2003 01:08:23 -0800 (PST) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 41098 for review Message-ID: <200311020908.hA298NRj058762@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=41098 Change 41098 by jmallett@jmallett_dalek on 2003/11/02 01:08:20 Perform per-platform trap exit stuff after a tlbmod. Also print the curthread. Affected files ... .. //depot/projects/mips/sys/mips/mips/trap.c#10 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/trap.c#10 (text+ko) ==== @@ -30,6 +30,7 @@ #include <sys/param.h> #include <sys/kernel.h> #include <sys/systm.h> +#include <sys/proc.h> #include <vm/vm.h> #include <vm/pmap.h> @@ -105,6 +106,7 @@ case T_TLB_MOD: /* XXX Kernel only. */ tlb_modified(badvaddr); + platform_trap_exit(); return; default: /* Fatal! */ @@ -129,6 +131,7 @@ printf("bad virtual address = %p\n", badvaddr); printf(" cause = %x\n", cause); printf(" status = %lx\n", tf->tf_regs[TF_SR]); + printf(" current thread = %p\n", curthread); switch (code) { case T_BREAK:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311020908.hA298NRj058762>