yar 2006-02-09 09:10:54 UTC
FreeBSD src repository
Modified files:
sys/i386/i386 identcpu.c
Log:
Avoid calling CPUID function 0x02 if the CPU reports no support for
it. The former code used to hang older Intel CPUs by trying to get
non-existent TLB info 2^32 times.
Reduce code duplication around the calls to CPUID 0x02 by using
do-while loops.
PR: i386/92977
Tested by: cy
Revision Changes Path
1.158 +24 -49 src/sys/i386/i386/identcpu.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"