[patch] extending {amd64|i386} cpu info

Jung-uk Kim jkim at FreeBSD.org
Thu Mar 11 16:36:39 UTC 2010


On Thursday 11 March 2010 09:07 am, John Baldwin wrote:
> 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,
>
> i386
>
> > 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.

Just for the record, I added CPUID_TO_* macros and I absolutely agree 
that we don't need CPUID_TO_STEPPING().

> I do have a version of your patch I plan to commit soon.

Thanks!

Jung-uk Kim


More information about the freebsd-hackers mailing list