PERFORCE change 94318 for review

John Baldwin jhb at FreeBSD.org
Thu Mar 30 19:26:56 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=94318

Change 94318 by jhb at jhb_slimer on 2006/03/30 19:25:55

	If the FPU is present in the CPUID, assume the int 16 interface
	works.

Affected files ...

.. //depot/projects/smpng/sys/i386/isa/npx.c#50 edit

Differences ...

==== //depot/projects/smpng/sys/i386/isa/npx.c#50 (text+ko) ====

@@ -250,6 +250,10 @@
 	u_short control;
 	u_short status;
 
+	if (cpu_feature & CPUID_FPU) {
+		npx_ex16 = 1;
+		return (0);
+	}
 	save_idt_npxtrap = idt[IDT_MF];
 	setidt(IDT_MF, probetrap, SDT_SYS386TGT, SEL_KPL,
 	    GSEL(GCODE_SEL, SEL_KPL));


More information about the p4-projects mailing list