Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 15:29:22 GMT
From:      tkuik <tkuik@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 105331 for review
Message-ID:  <200608301529.k7UFTMjK085011@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105331

Change 105331 by tkuik@tkuik_freebsd on 2006/08/30 15:29:15

	Let npx_probe() run & assume exception 16 works under Xen.

Affected files ...

.. //depot/projects/xen3/src/sys/i386/isa/npx.c#4 edit

Differences ...

==== //depot/projects/xen3/src/sys/i386/isa/npx.c#4 (text+ko) ====

@@ -270,10 +270,6 @@
 		return (0);
 	}
 
-#ifdef XEN
-	return (1);
-#endif
-
 	save_idt_npxtrap = idt[IDT_MF];
 	setidt(IDT_MF, probetrap, SDT_SYS386TGT, SEL_KPL,
 	    GSEL(GCODE_SEL, SEL_KPL));
@@ -354,9 +350,12 @@
 			return (0);
 #endif
 			npx_traps_while_probing = npx_intrs_while_probing = 0;
+#ifndef XEN
 			fp_divide_by_0();
 			DELAY(1000);	/* wait for any IRQ13 */
-			if (npx_traps_while_probing != 0) {
+			if (npx_traps_while_probing != 0)
+#endif
+			{
 				/*
 				 * Good, exception 16 works.
 				 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608301529.k7UFTMjK085011>