Disabled i586-optimized copyin and copyout. They usually panic if the

user supplies a bad address, because they push a lot of stuff that the
fault handler doesn't know about onto the stack.  This has been broken
for more than half a year despite being tested for almost half a year
in -current.
This commit is contained in:
Bruce Evans 1996-11-15 20:27:14 +00:00
parent 532c723611
commit f020427513
3 changed files with 9 additions and 3 deletions

View File

@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
* $Id: npx.c,v 1.31 1996/09/06 23:07:53 phk Exp $
* $Id: npx.c,v 1.32 1996/11/11 20:39:03 bde Exp $
*/
#include "npx.h"
@ -367,10 +367,12 @@ npxattach(dvp)
}
if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_BZERO))
bzero = i586_bzero;
#ifdef notyet
if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_COPYIO)) {
copyin_vector = i586_copyin;
copyout_vector = i586_copyout;
}
#endif
}
#endif

View File

@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
* $Id: npx.c,v 1.31 1996/09/06 23:07:53 phk Exp $
* $Id: npx.c,v 1.32 1996/11/11 20:39:03 bde Exp $
*/
#include "npx.h"
@ -367,10 +367,12 @@ npxattach(dvp)
}
if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_BZERO))
bzero = i586_bzero;
#ifdef notyet
if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_COPYIO)) {
copyin_vector = i586_copyin;
copyout_vector = i586_copyout;
}
#endif
}
#endif

View File

@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
* $Id: npx.c,v 1.31 1996/09/06 23:07:53 phk Exp $
* $Id: npx.c,v 1.32 1996/11/11 20:39:03 bde Exp $
*/
#include "npx.h"
@ -367,10 +367,12 @@ npxattach(dvp)
}
if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_BZERO))
bzero = i586_bzero;
#ifdef notyet
if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_COPYIO)) {
copyin_vector = i586_copyin;
copyout_vector = i586_copyout;
}
#endif
}
#endif