Project

General

Profile

Bug #1612 » patch-npx-0.diff

bleader, 11/25/2009 10:19 AM

View differences:

sys/platform/pc32/isa/npx.c
#else /* !SMP */
device_set_desc(dev, "math processor");
/*
* Modern CPUs all have an FPU that uses the INT16 interface
* and provide a simple way to verify that, so handle the
* common case right away.
*/
if (cpu_feature & CPUID_FPU) {
npx_irq13 = 0;
npx_ex16 = hw_float = npx_exists = 1;
return (0);
}
/*
* Don't use fwait here because it might hang.
(2-2/2)