VirtualBox

Changeset 102628 in vbox


Ignore:
Timestamp:
Dec 17, 2023 6:02:08 PM (16 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160783
Message:

IPRT/x86: Added a subset of CPUID leaf 6 bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r101659 r102628  
    577577/** ECX Bit 1 - MWAITBREAK - Break mwait for external interrupt even if EFLAGS.IF=0. */
    578578#define X86_CPUID_MWAIT_ECX_BREAKIRQIF0    RT_BIT_32(1)
     579/** @} */
     580
     581
     582/** @name CPUID Thermal and Power Management information.
     583 *  Generally Intel only unless noted otherwise.
     584 * CPUID query with EAX=5. @{
     585 */
     586/** EAX Bit 0 - DTS - Supports Digital Temperature Sensor. */
     587#define X86_CPUID_POWER_EAX_DTS            RT_BIT_32(0)
     588/** EAX Bit 1 - TURBOBOOST - Intel Turbo Boost available. */
     589#define X86_CPUID_POWER_EAX_TURBOBOOST     RT_BIT_32(1)
     590/** EAX Bit 2 - ARAT - Always Running APIC Timer. Intel and AMD. */
     591#define X86_CPUID_POWER_EAX_ARAT           RT_BIT_32(2)
     592/** EAX Bit 4 - PLN - Power Limit Notifications supported. */
     593#define X86_CPUID_POWER_EAX_PLN            RT_BIT_32(4)
     594/** EAX Bit 5 - ECMD - Clock modulation duty cycle extension supported. */
     595#define X86_CPUID_POWER_EAX_PLN            RT_BIT_32(5)
     596/** EAX Bit 6 - PTM - Package Thermal Management supported. */
     597#define X86_CPUID_POWER_EAX_PTM            RT_BIT_32(6)
     598/** EAX Bit 7 - HWP - HWP base MSRs supported. */
     599#define X86_CPUID_POWER_EAX_HWP            RT_BIT_32(7)
     600/** EAX Bit 8 - HWP_NOTIFY - HWP notification MSR supported. */
     601#define X86_CPUID_POWER_EAX_HWP_NOTIFY     RT_BIT_32(8)
     602/** EAX Bit 9 - HWP_ACT_WIN - HWP activity window MSR bits supported. */
     603#define X86_CPUID_POWER_EAX_HWP_ACT_WIN    RT_BIT_32(9)
     604/** EAX Bit 10 - HWP_NRG_PP - HWP energy performae preference MSR bits supported. */
     605#define X86_CPUID_POWER_EAX_HWP_NRG_PP     RT_BIT_32(10)
     606/** EAX Bit 11 - HWP_PLR - HWP package level request MSR supported. */
     607#define X86_CPUID_POWER_EAX_HWP_PLR        RT_BIT_32(11)
     608/** EAX Bit 13 - HDC - HDC base MSRs supported. */
     609#define X86_CPUID_POWER_EAX_HDC            RT_BIT_32(13)
     610/** EAX Bit 14 - TBM30 - Turbo Boost Max Technology 3.0 supported. */
     611#define X86_CPUID_POWER_EAX_TBM30          RT_BIT_32(14)
     612/** EAX Bit 15 - HWP - HWP Highest Performance change supported. */
     613#define X86_CPUID_POWER_EAX_HWP            RT_BIT_32(15)
     614/** EAX Bit 16 - HWP_PECI - HWP PECI override supported. */
     615#define X86_CPUID_POWER_EAX_HWP_PECI       RT_BIT_32(16)
     616/** EAX Bit 17 - HWP_FLEX - Flexible HWP supported. */
     617#define X86_CPUID_POWER_EAX_HWP_FLEX       RT_BIT_32(17)
     618
     619/** ECX Bit 1 - HCFC - Hardware Coordintion Feedback Capability supported. Intel and AMD. */
     620#define X86_CPUID_POWER_ECX_HCFC           RT_BIT_32(0)
    579621/** @} */
    580622
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette