Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 13:44:16 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287959 - head/sys/arm64/arm64
Message-ID:  <201509181344.t8IDiGNH061745@repo.freebsd.org>

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



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