VirtualBox

Changeset 81249 in vbox


Ignore:
Timestamp:
Oct 14, 2019 10:37:23 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133944
Message:

VMM: Log MCOMMIT and add its EFER bit.

Location:
trunk
Files:
2 edited

Legend:

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

    r81242 r81249  
    786786/** Bit 4 - RDPRU - Supports the RDPRU instruction. */
    787787#define X86_CPUID_AMD_EFEID_EBX_RDPRU        RT_BIT_32(4)
     788/** Bit 8 - MCOMMIT - Supports the MCOMMIT instruction. */
     789#define X86_CPUID_AMD_EFEID_EBX_MCOMMIT      RT_BIT_32(8)
    788790/* AMD pipeline length: 9 feature bits ;-) */
    789791/** Bit 12 - IBPB - Supports the IBPB command in IA32_PRED_CMD. */
     
    17081710/** Bit 15 - TCE - Translation Cache Extension. (R/W) */
    17091711#define  MSR_K6_EFER_TCE                     RT_BIT_32(15)
     1712/** Bit 17 - MCOMMIT - Commit Stores to memory. (R/W) */
     1713#define  MSR_K6_EFER_MCOMMIT                 RT_BIT_32(17)
     1714
    17101715/** K6 STAR - SYSCALL/RET targets. */
    17111716#define MSR_K6_STAR                         UINT32_C(0xc0000081)
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r81242 r81249  
    63486348    DBGFREGSUBFIELD_RO("XSaveErPtr\0"   "Save/restore error pointers (FXSAVE/RSTOR*)",   2, 1, 0),
    63496349    DBGFREGSUBFIELD_RO("RDPRU\0"        "RDPRU instruction",                             4, 1, 0),
     6350    DBGFREGSUBFIELD_RO("MCOMMIT\0"      "MCOMMIT instruction",                           8, 1, 0),
    63506351    DBGFREGSUBFIELD_RO("IBPB\0"         "Supports the IBPB command in IA32_PRED_CMD",   12, 1, 0),
    63516352    DBGFREGSUBFIELD_TERMINATOR()
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