mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
f03749ca2d
commit
9b984feb3d
2 changed files with 18 additions and 0 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue