diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h index 23d11499bef..49513d93f2f 100644 --- a/sys/amd64/include/specialreg.h +++ b/sys/amd64/include/specialreg.h @@ -135,6 +135,15 @@ #define CPUID2_POPCNT 0x00800000 #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 */ diff --git a/sys/i386/include/specialreg.h b/sys/i386/include/specialreg.h index dd0d4eeea74..73e7a8454be 100644 --- a/sys/i386/include/specialreg.h +++ b/sys/i386/include/specialreg.h @@ -132,6 +132,15 @@ #define CPUID2_POPCNT 0x00800000 #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 */