It's only OK for MII's because of various `#if 0's and `#ifdef SMP's
that prevent non-OK code from running on MII's.
I think it should be CPU specific, not cpu class specific. The
model-specific-registers are very specific to the Intel family. I'd be a
lot happier if it was 'if (cpu == CPU_686 || cpu == CPU_PII) ...' Of
course, feature tests would be better. 'if (cpu_features & CF_PPRO_MSR)...'
The problem is that there is a 'cpu_feature' already for the CPUID. We
need more general flags than what Intel choose to tell us.
FreeBSD should use its own bitmap of capabilities and not test the Intel
flags except once to translate them. 32 general flags might even be
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message