> Seems like this would be perfect for the sysctl MIB.  We have a few
> CPU-related ones already:
> 
>      > sysctl -a | grep -i cpu
>      kern.ccpu: 1948
>      hw.ncpu: 1
> 
> What about:
> 
>      hw.cpu.has_mmx: 1
>      hw.cpu.has_3dnow: 1
>      hw.cpu.has_sse: 0
> 
> In leiu of that, I believe I recall reading that the SIGILL approach works
> on FreeBSD.  Seems like Roger Hardiman uses/used MMX on FreeBSD for some of
> his signal processing work.  You might chat with him.

I would recommend 

hw.cpu.feature: MMX,CPUID,MTRR

etc.  This is probably more extensible.

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  [EMAIL PROTECTED]
\\    -- Joseph Merrick           \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to