Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 19:26:51 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94318 for review
Message-ID:  <200603301926.k2UJQpTt068667@repoman.freebsd.org>

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

Change 94318 by jhb@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));



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