[patch] extending {amd64|i386} cpu info

John Baldwin jhb at freebsd.org
Thu Mar 11 14:17:52 UTC 2010

On Thursday 11 March 2010 8:43:29 am Alexander Best wrote:
> since ed@ noticed that there's no CPUID_TO_STEPPING() macro this new patch
> adds one. i checked and include/specialreg.h is only available on amd64, 
> and pc98. all the latter does however is:
> #include <i386/specialreg.h>

I don't think we need the CPUID_TO_STEPPING() macro as stepping is still a 
simple mask operation.  The other macros were added when the operations became 
more complicated.  I do have a version of your patch I plan to commit soon.

John Baldwin

More information about the freebsd-hackers mailing list