diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-12-31 19:17:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-12-31 19:17:42 +0000 |
commit | e003ceea677c343853a0e2567012dcd0a5f7315f (patch) | |
tree | 0ba7c97c47a8be046cecde28305f9dffe269b09c /sys/arch/i386/isa/npx.c | |
parent | 67124b65d4779efd6c182eecedb320eacc1df8a1 (diff) |
workaround: during npx exception testing, delay(1). For some reason
amd64 (in 32 bit mode) and the new transmeta cpus want this, and lock
up otherwise. very odd.
Diffstat (limited to 'sys/arch/i386/isa/npx.c')
-rw-r--r-- | sys/arch/i386/isa/npx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/npx.c b/sys/arch/i386/isa/npx.c index 8a78c542c9c..bfb3b4bc95c 100644 --- a/sys/arch/i386/isa/npx.c +++ b/sys/arch/i386/isa/npx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: npx.c,v 1.29 2003/10/24 09:03:20 grange Exp $ */ +/* $OpenBSD: npx.c,v 1.30 2003/12/31 19:17:41 deraadt Exp $ */ /* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */ #if 0 @@ -203,6 +203,7 @@ npxprobe1(ia) fldcw(&control); npx_traps_while_probing = npx_intrs_while_probing = 0; fp_divide_by_0(); + delay(1); if (npx_traps_while_probing != 0) { /* * Good, exception 16 works. |