svn commit: r249602 - head/sys/x86/include

Konstantin Belousov kostikbel at gmail.com
Thu Apr 18 05:46:17 UTC 2013


On Thu, Apr 18, 2013 at 01:30:08AM +0000, Rui Paulo wrote:
> Author: rpaulo
> Date: Thu Apr 18 01:30:08 2013
> New Revision: 249602
> URL: http://svnweb.freebsd.org/changeset/base/249602
> 
> Log:
>   Add the most current CPUID7_* definitions.
> 
> Modified:
>   head/sys/x86/include/specialreg.h
> 
> Modified: head/sys/x86/include/specialreg.h
> ==============================================================================
> --- head/sys/x86/include/specialreg.h	Thu Apr 18 01:21:44 2013	(r249601)
> +++ head/sys/x86/include/specialreg.h	Thu Apr 18 01:30:08 2013	(r249602)
> @@ -172,6 +172,23 @@
>  #define	CPUTPM2_EFFREQ	0x00000001
>  
>  /*
> + * Structured Extended Features
> + */
> +#define	CPUID7_GSFSBASE	0x00000001
> +#define	CPUID7_TSCADJ	0x00000002
> +#define	CPUID7_BMI1	0x00000008
> +#define	CPUID7_HLE	0x00000010
> +#define	CPUID7_AVX2	0x00000020
> +#define	CPUID7_SMEP	0x00000080
> +#define	CPUID7_BMI2	0x00000100
> +#define	CPUID7_ENHMOVSB	0x00000200
> +#define	CPUID7_INVPCID	0x00000400
> +#define	CPUID7_RTM	0x00000800
> +#define	CPUID7_RDSEED	0x00040000
> +#define	CPUID7_ADX	0x00080000
> +#define	CPUID7_SMAP	0x00100000
> +
> +/*
The set of the bits already exists as CPUID_STDEXT_* in the same file,
and they are already utilized by the kernel.

Please move new definitions to CPUID_STDEXT namespace and block, and
remove CPUID7*.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20130418/315432df/attachment.sig>


More information about the svn-src-head mailing list