PERFORCE change 105331 for review
tkuik
tkuik at FreeBSD.org
Wed Aug 30 15:58:16 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105331
Change 105331 by tkuik at 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.
*/
More information about the p4-projects
mailing list