diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2010-11-23 13:55:30 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2010-11-23 13:55:30 +0000 |
commit | 9b984feb3de32c59e4385449fc4f185dcdbb3404 (patch) | |
tree | f97fa84a2446bd00175b0f19b5b4b1d851935efb /sys/i386/include/specialreg.h | |
parent | f03749ca2dfc31db0103b62c541d853d2d30a564 (diff) | |
download | src-9b984feb3de32c59e4385449fc4f185dcdbb3404.tar.gz src-9b984feb3de32c59e4385449fc4f185dcdbb3404.zip |
specialreg.h: add definitions for some useful bits found in CPUID.6 EAX and ECX
CPUID.6 is defined as Thermal and Power Management Leaf by both Intel
and AMD.
Reviewed by: jhb
MFC after: 7 days
Notes
Notes:
svn path=/head/; revision=215748
Diffstat (limited to 'sys/i386/include/specialreg.h')
-rw-r--r-- | sys/i386/include/specialreg.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/i386/include/specialreg.h b/sys/i386/include/specialreg.h index dd0d4eeea74d..73e7a8454bed 100644 --- a/sys/i386/include/specialreg.h +++ b/sys/i386/include/specialreg.h @@ -133,6 +133,15 @@ #define CPUID2_AESNI 0x02000000 /* + * 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 |