VirtualBox

Changeset 106610 in vbox


Ignore:
Timestamp:
Oct 23, 2024 7:36:09 AM (5 weeks ago)
Author:
vboxsync
Message:

iprt/x86.h: bugref:10794 Add SRBDS_CTRL CPUID bit and IA32_MCU_OPT_CTRL MSR bits.

File:
1 edited

Legend:

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

    r106472 r106610  
    711711#define X86_CPUID_STEXT_FEATURE_ECX_SGX_LC            RT_BIT_32(30)
    712712
     713/** EDX bit 9 - SRBDS_CTRL - (Special Register Buffer Data Sample Control)
     714 *  Supports IA32_MCU_OPT_CTRL and IA32_MCU_OPT_CTRL.RNGDS_MITG_DIS. */
     715#define X86_CPUID_STEXT_FEATURE_EDX_SRBDS_CTRL        RT_BIT_32(9)
    713716/** EDX Bit 10 - MD_CLEAR - Supports flushing MDS related buffers. */
    714717#define X86_CPUID_STEXT_FEATURE_EDX_MD_CLEAR          RT_BIT_32(10)
     
    16191622/** Cache control/info. */
    16201623#define MSR_BBL_CR_CTL3                     UINT32_C(0x11e)
     1624
     1625/** Microcode Update Operation Control (R/W). */
     1626#define MSR_IA32_MCU_OPT_CTRL                       0x123
     1627#define MSR_IA32_MCU_OPT_CTRL_RNGDS_MITG_DIS        RT_BIT_64(0)
     1628#define MSR_IA32_MCU_OPT_CTRL_RTM_ALLOW             RT_BIT_64(1)
     1629#define MSR_IA32_MCU_OPT_CTRL_RTM_LOCKED            RT_BIT_64(2)
     1630#define MSR_IA32_MCU_OPT_CTRL_FB_CLEAR_DIS          RT_BIT_64(3)
     1631#define MSR_IA32_MCU_OPT_CTRL_GDS_MITG_DIS          RT_BIT_64(4)
     1632#define MSR_IA32_MCU_OPT_CTRL_GDS_MITG_LOCK         RT_BIT_64(5)
     1633#define MSR_IA32_MCU_OPT_CTRL_IGN_UMONITOR          RT_BIT_64(6)
     1634#define MSR_IA32_MCU_OPT_CTRL_MON_UMON_MITG         RT_BIT_64(7)
     1635/* Bits 63:7 reserved. */
     1636#define MSR_IA32_MCU_OPT_CTRL_RSVD_MASK             UINT64_C(0xffffffffffffff80)
    16211637
    16221638#ifndef MSR_IA32_SYSENTER_CS /* qemu cpu.h kludge */
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