From owner-p4-projects@FreeBSD.ORG Thu Mar 30 19:26:56 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A419716A424; Thu, 30 Mar 2006 19:26:56 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8279E16A41F for ; Thu, 30 Mar 2006 19:26:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 921B243D5D for ; Thu, 30 Mar 2006 19:26:51 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2UJQp5J068670 for ; Thu, 30 Mar 2006 19:26:51 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2UJQpTt068667 for perforce@freebsd.org; Thu, 30 Mar 2006 19:26:51 GMT (envelope-from jhb@freebsd.org) Date: Thu, 30 Mar 2006 19:26:51 GMT Message-Id: <200603301926.k2UJQpTt068667@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 94318 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 19:26:56 -0000 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));