Author: avg Date: Fri Mar 11 15:06:56 2011 New Revision: 219491 URL: http://svn.freebsd.org/changeset/base/219491
Log: MFC r215748: specialreg.h: add definitions for some useful bits found in CPUID.6 EAX and ECX Modified: stable/7/sys/amd64/include/specialreg.h stable/7/sys/i386/include/specialreg.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/amd64/include/specialreg.h ============================================================================== --- stable/7/sys/amd64/include/specialreg.h Fri Mar 11 15:05:23 2011 (r219490) +++ stable/7/sys/amd64/include/specialreg.h Fri Mar 11 15:06:56 2011 (r219491) @@ -133,6 +133,15 @@ #define CPUID2_POPCNT 0x00800000 /* + * Important bits in the Thermal and Power Management flags + * CPUID.6 EAX and ECX. + */ +#define CPUTPM1_SENSOR 0x00000001 +#define CPUTPM1_TURBO 0x00000002 +#define CPUTPM1_ARAT 0x00000004 +#define CPUTPM2_EFFREQ 0x00000001 + +/* * Important bits in the AMD extended cpuid flags */ #define AMDID_SYSCALL 0x00000800 Modified: stable/7/sys/i386/include/specialreg.h ============================================================================== --- stable/7/sys/i386/include/specialreg.h Fri Mar 11 15:05:23 2011 (r219490) +++ stable/7/sys/i386/include/specialreg.h Fri Mar 11 15:06:56 2011 (r219491) @@ -130,6 +130,15 @@ #define CPUID2_POPCNT 0x00800000 /* + * Important bits in the Thermal and Power Management flags + * CPUID.6 EAX and ECX. + */ +#define CPUTPM1_SENSOR 0x00000001 +#define CPUTPM1_TURBO 0x00000002 +#define CPUTPM1_ARAT 0x00000004 +#define CPUTPM2_EFFREQ 0x00000001 + +/* * Important bits in the AMD extended cpuid flags */ #define AMDID_SYSCALL 0x00000800 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
