svn commit: r288665 - head/sys/arm64/arm64

Konstantin Belousov kib at FreeBSD.org
Sun Oct 4 12:52:31 UTC 2015


Author: kib
Date: Sun Oct  4 12:52:30 2015
New Revision: 288665
URL: https://svnweb.freebsd.org/changeset/base/288665

Log:
  When asserting IL bit in exception syndrome register, print the raw
  register value.
  
  Reviewed by:	andrew
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm64/arm64/trap.c

Modified: head/sys/arm64/arm64/trap.c
==============================================================================
--- head/sys/arm64/arm64/trap.c	Sun Oct  4 12:42:07 2015	(r288664)
+++ head/sys/arm64/arm64/trap.c	Sun Oct  4 12:52:30 2015	(r288665)
@@ -275,7 +275,7 @@ do_el1h_sync(struct trapframe *frame)
 	 */
 	KASSERT((esr & ESR_ELx_IL) == ESR_ELx_IL ||
 	    (exception == EXCP_DATA_ABORT && ((esr & ISS_DATA_ISV) == 0)),
-	    ("Invalid instruction length in exception"));
+	    ("Invalid instruction length in exception, esr %lx", esr));
 
 	CTR4(KTR_TRAP,
 	    "do_el1_sync: curthread: %p, esr %lx, elr: %lx, frame: %p",


More information about the svn-src-all mailing list