Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/sys/arch/xen/i386 Pull up revision 1.4 (requested by bouy...



details:   https://anonhg.NetBSD.org/src/rev/315cd04542d4
branches:  netbsd-3
changeset: 574955:315cd04542d4
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Mar 20 14:38:21 2005 +0000

description:
Pull up revision 1.4 (requested by bouyer in ticket #35):
npxintr(): this function does the right thing if we don't try to clear
the interrupt latch (which is probably done by the hypervisor, linux/xen
doesn't do it either). Now the "fputest" configure test from pkgsrc/math/yorick
works as expected.
Thanks to Christian Limpach for the hint.

diffstat:

 sys/arch/xen/i386/npx.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r e2d9999b7227 -r 315cd04542d4 sys/arch/xen/i386/npx.c
--- a/sys/arch/xen/i386/npx.c   Sun Mar 20 14:37:09 2005 +0000
+++ b/sys/arch/xen/i386/npx.c   Sun Mar 20 14:38:21 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npx.c,v 1.3 2004/05/07 13:48:32 cl Exp $       */
+/*     $NetBSD: npx.c,v 1.3.14.1 2005/03/20 14:38:21 tron Exp $        */
 /*     NetBSD: npx.c,v 1.103 2004/03/21 10:56:24 simonb Exp    */
 
 /*-
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npx.c,v 1.3 2004/05/07 13:48:32 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npx.c,v 1.3.14.1 2005/03/20 14:38:21 tron Exp $");
 
 #if 0
 #define IPRINTF(x)     printf x
@@ -381,12 +381,6 @@
 
        uvmexp.traps++;
        IPRINTF(("%s: fp intr\n", ci->ci_dev->dv_xname));
-       panic("not supported\n");
-
-       /*
-        * Clear the interrupt latch.
-        */
-       bus_space_write_1(sc->sc_iot, sc->sc_ioh, 0, 0);
 
        /*
         * If we're saving, ignore the interrupt.  The FPU will generate



Home | Main Index | Thread Index | Old Index