Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 22:31:22 -0700 (PDT)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 30833 for review
Message-ID:  <200305090531.h495VM3Q020890@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305090531.h495VM3Q020890>