VirtualBox

Changeset 102986 in vbox for trunk/include/iprt/x86.h


Ignore:
Timestamp:
Jan 22, 2024 10:03:37 AM (10 months ago)
Author:
vboxsync
Message:

x86.h: bugref:10318 CPUID and MSR bits for upcoming logging of split-lock disable status on host.

File:
1 edited

Legend:

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

    r102717 r102986  
    709709/** EDX Bit 29 - ARCHCAP - Supports the IA32_ARCH_CAPABILITIES MSR. */
    710710#define X86_CPUID_STEXT_FEATURE_EDX_ARCHCAP           RT_BIT_32(29)
     711/** EDX Bit 30 - CORECAP - Supports the IA32_CORE_CAPABILITIES MSR. */
     712#define X86_CPUID_STEXT_FEATURE_EDX_CORECAP           RT_BIT_32(30)
    711713/** EDX Bit 31 - SSBD - Supports the SSBD flag in IA32_SPEC_CTRL. */
    712714#define X86_CPUID_STEXT_FEATURE_EDX_SSBD              RT_BIT_32(31)
     
    13121314#endif
    13131315
     1316/** Memory Control (Intel-specific). */
     1317#define MSR_MEMORY_CTRL                     0x33
     1318/** Memory Control - UC-store throttle. */
     1319#define MSR_MEMORY_CTRL_UC_STORE_THROTTLE           RT_BIT_64(27)
     1320/** Memory Control - UC-lock disable. */
     1321#define MSR_MEMORY_CTRL_UC_LOCK_DISABLE             RT_BIT_64(28)
     1322/** Memory Control - Split-lock disable. */
     1323#define MSR_MEMORY_CTRL_SPLIT_LOCK_DISABLE          RT_BIT_64(29)
     1324
    13141325/** Undocumented intel MSR for reporting thread and core counts.
    13151326 * Judging from the XNU sources, it seems to be introduced in Nehalem. The
     
    13991410/** Nehalem power control. */
    14001411#define MSR_IA32_PLATFORM_INFO              0xCE
     1412
     1413/** Core Capabilities (Intel-specific). */
     1414#define MSR_IA32_CORE_CAPABILITIES          0xCF
     1415/** STLB QoS feature supported. */
     1416#define MSR_IA32_CORE_CAP_STLB_QOS                  RT_BIT_64(0)
     1417/** FUSA feature supported. */
     1418#define MSR_IA32_CORE_CAP_FUSA                      RT_BIT_64(2)
     1419/** RSM instruction only allowed in CPL 0. */
     1420#define MSR_IA32_CORE_CAP_RSM_CPL0                  RT_BIT_64(3)
     1421/** UC lock disable supported. */
     1422#define MSR_IA32_CORE_CAP_UC_LOCK_DISABLE           RT_BIT_64(4)
     1423/** Split-lock disable supported. */
     1424#define MSR_IA32_CORE_CAP_SPLIT_LOCK_DISABLE        RT_BIT_64(5)
     1425/** Snoop filter QoS Mask MSRs supported. */
     1426#define MSR_IA32_CORE_CAP_SNOOP_FILTER_QOS          RT_BIT_64(6)
     1427/** UC store throttling supported. */
     1428#define MSR_IA32_CORE_CAP_UC_STORE_THROTTLE         RT_BIT_64(7)
    14011429
    14021430/** Get FSB clock status (Intel-specific). */
Note: See TracChangeset for help on using the changeset viewer.

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