Eliminate some uses of FPCOPROC.

This commit is contained in:
mycroft 1997-09-12 08:19:00 +00:00
parent 1192cdbe7e
commit 8a8fa1ee59
2 changed files with 2 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.12 1997/07/20 11:03:03 kleink Exp $ */
/* $NetBSD: trap.c,v 1.13 1997/09/12 08:19:00 mycroft Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -281,9 +281,7 @@ copyfault:
i = SIGBUS;
break;
#ifdef FPCOPROC
case T_COPERR: /* kernel coprocessor violation */
#endif
case T_FMTERR|T_USER: /* do all RTE errors come in as T_USER? */
case T_FMTERR: /* ...just in case... */
/*
@ -302,7 +300,6 @@ copyfault:
ucode = frame.f_format; /* XXX was ILL_RESAD_FAULT */
break;
#ifdef FPCOPROC
case T_COPERR|T_USER: /* user coprocessor violation */
/* What is a proper response here? */
ucode = 0;
@ -322,7 +319,6 @@ copyfault:
ucode = code;
i = SIGFPE;
break;
#endif
#ifdef M68040
case T_FPEMULI|T_USER: /* unimplemented FP instuction */

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.10 1997/07/08 16:56:40 kleink Exp $ */
/* $NetBSD: trap.c,v 1.11 1997/09/12 08:19:02 mycroft Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -341,9 +341,7 @@ trap(type, code, v, frame)
i = SIGBUS;
break;
#ifdef FPCOPROC
case T_COPERR: /* kernel coprocessor violation */
#endif
case T_FMTERR|T_USER: /* do all RTE errors come in as T_USER? */
case T_FMTERR: /* ...just in case... */
/*
@ -362,7 +360,6 @@ trap(type, code, v, frame)
ucode = frame.f_format; /* XXX was ILL_RESAD_FAULT */
break;
#ifdef FPCOPROC
case T_COPERR|T_USER: /* user coprocessor violation */
/* What is a proper response here? */
ucode = 0;
@ -382,7 +379,6 @@ trap(type, code, v, frame)
ucode = code;
i = SIGFPE;
break;
#endif
case T_FPEMULI|T_USER: /* unimplemented FP instuction */
case T_FPEMULD|T_USER: /* unimplemented FP data type */