diff options
author | brooks <brooks@FreeBSD.org> | 2016-01-20 22:23:08 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2016-01-20 22:23:08 +0000 |
commit | e86fa364ca07e2714edcfb3790ae4ea2b1d460c9 (patch) | |
tree | d37abf3891b4361dd190430e0770fadb9b975f41 /sys/mips | |
parent | ad3fb1e528fd5cadfaf58988def2d0a3fe200e10 (diff) | |
download | FreeBSD-src-e86fa364ca07e2714edcfb3790ae4ea2b1d460c9.zip FreeBSD-src-e86fa364ca07e2714edcfb3790ae4ea2b1d460c9.tar.gz |
Shift saved floating point registers up in jmp_buf.
sigmask_t is 128-bits so requires two slots.
Approved by: CheriBSD (93699cb9b6e73980ac369e379cea9772c9494ccc)
MFC after: 1 week
Sponsored by: DARPA, AFRL
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/include/asm.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/sys/mips/include/asm.h b/sys/mips/include/asm.h index 1a48adf..9e7e771 100644 --- a/sys/mips/include/asm.h +++ b/sys/mips/include/asm.h @@ -666,20 +666,21 @@ _C_LABEL(x): /* Only valid with the _JB_MAGIC_SETJMP magic */ #define _JB_SIGMASK 13 - -#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_SIGMASK_REMAINDER 14 /* sigmask_t is 128-bits */ + +#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 |