Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2016 22:34:29 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r295019 - stable/10/sys/mips/include
Message-ID:  <201601282234.u0SMYT5Y044140@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Thu Jan 28 22:34:29 2016
New Revision: 295019
URL: https://svnweb.freebsd.org/changeset/base/295019

Log:
  MFC r294463:
  
  Shift saved floating point registers up in jmp_buf.
  
  sigmask_t is 128-bits so requires two slots.
  
  Obtained from:	CheriBSD (93699cb9b6e73980ac369e379cea9772c9494ccc)
  Sponsored by:	DARPA, AFRL

Modified:
  stable/10/sys/mips/include/asm.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/mips/include/asm.h
==============================================================================
--- stable/10/sys/mips/include/asm.h	Thu Jan 28 22:08:42 2016	(r295018)
+++ stable/10/sys/mips/include/asm.h	Thu Jan 28 22:34:29 2016	(r295019)
@@ -706,20 +706,21 @@ _C_LABEL(x):
 /* Only valid with the _JB_MAGIC_SETJMP magic */
 
 #define _JB_SIGMASK		13
+#define	__JB_SIGMASK_REMAINDER	14	/* sigmask_t is 128-bits */
 
-#define _JB_FPREG_F20		14
-#define _JB_FPREG_F21		15
-#define _JB_FPREG_F22		16
-#define _JB_FPREG_F23		17
-#define _JB_FPREG_F24		18
-#define _JB_FPREG_F25		19
-#define _JB_FPREG_F26		20
-#define _JB_FPREG_F27		21
-#define _JB_FPREG_F28		22
-#define _JB_FPREG_F29		23
-#define _JB_FPREG_F30		24
-#define _JB_FPREG_F31		25
-#define _JB_FPREG_FCSR		26
+#define _JB_FPREG_F20		15
+#define _JB_FPREG_F21		16
+#define _JB_FPREG_F22		17
+#define _JB_FPREG_F23		18
+#define _JB_FPREG_F24		19
+#define _JB_FPREG_F25		20
+#define _JB_FPREG_F26		21
+#define _JB_FPREG_F27		22
+#define _JB_FPREG_F28		23
+#define _JB_FPREG_F29		24
+#define _JB_FPREG_F30		25
+#define _JB_FPREG_F31		26
+#define _JB_FPREG_FCSR		27
 
 /*
  * Various macros for dealing with TLB hazards



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