diff options
author | grehan <grehan@FreeBSD.org> | 2011-10-27 04:56:53 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2011-10-27 04:56:53 +0000 |
commit | 6608b60465ff680d8774363c5efb950503d6cde5 (patch) | |
tree | c8ad385de528afbbabd70f4b27b4b7f80796d429 /sys/amd64/include | |
parent | 9de15373c371786da8c7814387bad682698eb9bd (diff) | |
parent | 0a7d6450d66712b7cb6e6e8396620f2e38a7d018 (diff) | |
download | FreeBSD-src-6608b60465ff680d8774363c5efb950503d6cde5.zip FreeBSD-src-6608b60465ff680d8774363c5efb950503d6cde5.tar.gz |
IFC @ r226824
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/ieeefp.h | 11 | ||||
-rw-r--r-- | sys/amd64/include/proc.h | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/sys/amd64/include/ieeefp.h b/sys/amd64/include/ieeefp.h index 1244492..a403660 100644 --- a/sys/amd64/include/ieeefp.h +++ b/sys/amd64/include/ieeefp.h @@ -39,6 +39,8 @@ #define _MACHINE_IEEEFP_H_ /* + * Deprecated historical FPU control interface + * * IEEE floating point type, constant and function definitions. * XXX: {FP,SSE}*FLD and {FP,SSE}*OFF are undocumented pollution. */ @@ -287,13 +289,16 @@ __fpgetsticky(void) #define fpsetprec(m) __fpsetprec(m) #define fpsetround(m) __fpsetround(m) -/* Suppress prototypes in the MI header. */ -#define _IEEEFP_INLINED_ 1 - #else /* !(!__IEEEFP_NOINLINES__ && __GNUCLIKE_ASM) */ /* Augment the userland declarations. */ __BEGIN_DECLS +extern fp_rnd_t fpgetround(void); +extern fp_rnd_t fpsetround(fp_rnd_t); +extern fp_except_t fpgetmask(void); +extern fp_except_t fpsetmask(fp_except_t); +extern fp_except_t fpgetsticky(void); +extern fp_except_t fpsetsticky(fp_except_t); fp_prec_t fpgetprec(void); fp_prec_t fpsetprec(fp_prec_t); __END_DECLS diff --git a/sys/amd64/include/proc.h b/sys/amd64/include/proc.h index 2de7a9e..5207d89 100644 --- a/sys/amd64/include/proc.h +++ b/sys/amd64/include/proc.h @@ -85,8 +85,6 @@ struct syscall_args { register_t args[8]; int narg; }; -#define HAVE_SYSCALL_ARGS_DEF 1 - #endif /* _KERNEL */ #endif /* !_MACHINE_PROC_H_ */ |