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

Andrew Turner andrew at FreeBSD.org
Fri Sep 18 13:44:16 UTC 2015


Author: andrew
Date: Fri Sep 18 13:44:15 2015
New Revision: 287959
URL: https://svnweb.freebsd.org/changeset/base/287959

Log:
  Don't read the floating-point registers for now. We will need to enable the
  VFP around the read of these instructions as they may raise an exception.
  
  Sponsored by:	ABT Systems Ltd

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

Modified: head/sys/arm64/arm64/machdep.c
==============================================================================
--- head/sys/arm64/arm64/machdep.c	Fri Sep 18 12:50:03 2015	(r287958)
+++ head/sys/arm64/arm64/machdep.c	Fri Sep 18 13:44:15 2015	(r287959)
@@ -894,8 +894,11 @@ DB_SHOW_COMMAND(specialregs, db_show_spr
 	PRINT_REG(elr_el1);
 	PRINT_REG(esr_el1);
 	PRINT_REG(far_el1);
+#if 0
+	/* ARM64TODO: Enable VFP before reading floating-point registers */
 	PRINT_REG(fpcr);
 	PRINT_REG(fpsr);
+#endif
 	PRINT_REG(id_aa64afr0_el1);
 	PRINT_REG(id_aa64afr1_el1);
 	PRINT_REG(id_aa64dfr0_el1);


More information about the svn-src-head mailing list