PERFORCE change 30833 for review
    Juli Mallett 
    jmallett at FreeBSD.org
       
    Thu May  8 22:31:25 PDT 2003
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=30833
Change 30833 by jmallett at 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
    
    
More information about the p4-projects
mailing list