diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-10-03 21:51:02 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-10-03 21:51:02 +0000 |
commit | 4f62402781e8e887a70e755dd93a2871517be26c (patch) | |
tree | 8b60c59939cb3cc1546ce0a707ba300cc91a748d /sys/arch/i386/include | |
parent | d883e605eef501f346e5c6efd1490b4c51214872 (diff) |
Properly handle XMM exceptions instead of panicing the kernel. Fixes the
issue reported by Slava Pestov.
ok deraadt@
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/npx.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/include/npx.h b/sys/arch/i386/include/npx.h index 6db0d05539b..a3b787214b6 100644 --- a/sys/arch/i386/include/npx.h +++ b/sys/arch/i386/include/npx.h @@ -1,4 +1,4 @@ -/* $OpenBSD: npx.h,v 1.10 2006/10/01 18:07:56 kettenis Exp $ */ +/* $OpenBSD: npx.h,v 1.11 2009/10/03 21:51:01 kettenis Exp $ */ /* $NetBSD: npx.h,v 1.11 1994/10/27 04:16:11 cgd Exp $ */ /*- @@ -161,8 +161,11 @@ struct emcsts { void process_xmm_to_s87(const struct savexmm *, struct save87 *); void process_s87_to_xmm(const struct save87 *, struct savexmm *); + struct cpu_info; +struct trapframe; void npxinit(struct cpu_info *); +void npxtrap(struct trapframe *); #endif /* !_I386_NPX_H_ */ |