diff options
author | kib <kib@FreeBSD.org> | 2012-07-21 21:52:48 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-07-21 21:52:48 +0000 |
commit | 85d13cee2c898c09c66d9363ed996ec22e463477 (patch) | |
tree | 89398484d43bb1d8807fbfb9a8af354b9eb3e298 /sys/i386/include/npx.h | |
parent | 7925edc16eae8c1b2933c3bb83e9005b8c8f18fa (diff) | |
download | FreeBSD-src-85d13cee2c898c09c66d9363ed996ec22e463477.zip FreeBSD-src-85d13cee2c898c09c66d9363ed996ec22e463477.tar.gz |
MFCamd64 r238598:
Provide siginfo.si_code for floating point errors when error occurs
using the SSE math processor.
MFC after: 3 weeks
Diffstat (limited to 'sys/i386/include/npx.h')
-rw-r--r-- | sys/i386/include/npx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/npx.h b/sys/i386/include/npx.h index 86ac477..33a47b3 100644 --- a/sys/i386/include/npx.h +++ b/sys/i386/include/npx.h @@ -55,7 +55,8 @@ int npxgetregs(struct thread *td); void npxinit(void); void npxsave(union savefpu *addr); void npxsetregs(struct thread *td, union savefpu *addr); -int npxtrap(void); +int npxtrap_x87(void); +int npxtrap_sse(void); void npxuserinited(struct thread *); struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags); void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx); |