VirtualBox

Changeset 76678 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Jan 7, 2019 1:48:16 PM (6 years ago)
Author:
vboxsync
Message:

Port r124260, r124263, r124271, r124273, r124277, r124278, r124279, r124284, r124285, r124286, r124287, r124288, r124289 and r124290 (Ported fixes over from 5.2, see bugref:9179 for more information)

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:mergeinfo
      •  

        old new  
        88/branches/VBox-5.0:104445,104938,104943,104950,104952-104953,104987-104988,104990,106453
        99/branches/VBox-5.1:112367,115992,116543,116550,116568,116573
        10 /branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,125768,125779-125780,125812
         10/branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124260,124263,124271,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812
        1111/branches/andy/draganddrop:90781-91268
        1212/branches/andy/guestctrl20:78916,78930
  • trunk/include/VBox/vmm/cpum.h

    r76585 r76678  
    733733    kCpumMsrWrFn_Ia32SpecCtrl,
    734734    kCpumMsrWrFn_Ia32PredCmd,
     735    kCpumMsrWrFn_Ia32FlushCmd,
    735736
    736737    kCpumMsrWrFn_Amd64Efer,
     
    10611062    /** Supports IA32_SPEC_CTRL.STIBP. */
    10621063    uint32_t        fStibp : 1;
     1064    /** Supports IA32_FLUSH_CMD. */
     1065    uint32_t        fFlushCmd : 1;
    10631066    /** Supports IA32_ARCH_CAP. */
    10641067    uint32_t        fArchCap : 1;
     
    11011104    uint32_t        fVmx : 1;
    11021105
    1103     /** Indicates that speculative execution control CPUID bits and
    1104      *  MSRs are exposed. The details are different for Intel and
    1105      * AMD but both have similar functionality. */
     1106    /** Indicates that speculative execution control CPUID bits and MSRs are exposed.
     1107     * The details are different for Intel and AMD but both have similar
     1108     * functionality. */
    11061109    uint32_t        fSpeculationControl : 1;
    11071110
     1111    /** MSR_IA32_ARCH_CAPABILITIES: RDCL_NO (bit 0).
     1112     * @remarks Only safe use after CPUM ring-0 init! */
     1113    uint32_t        fArchRdclNo : 1;
     1114    /** MSR_IA32_ARCH_CAPABILITIES: IBRS_ALL (bit 1).
     1115     * @remarks Only safe use after CPUM ring-0 init! */
     1116    uint32_t        fArchIbrsAll : 1;
     1117    /** MSR_IA32_ARCH_CAPABILITIES: RSB Override (bit 2).
     1118     * @remarks Only safe use after CPUM ring-0 init! */
     1119    uint32_t        fArchRsbOverride : 1;
     1120    /** MSR_IA32_ARCH_CAPABILITIES: RSB Override (bit 3).
     1121     * @remarks Only safe use after CPUM ring-0 init! */
     1122    uint32_t        fArchVmmNeedNotFlushL1d : 1;
     1123
    11081124    /** Alignment padding / reserved for future use. */
    1109     uint32_t        fPadding : 15;
     1125    uint32_t        fPadding : 10;
    11101126
    11111127    /** SVM: Supports Nested-paging. */
  • trunk/include/VBox/vmm/cpum.mac

    r76553 r76678  
    290290%define CPUMCTX_WSF_IBPB_EXIT           RT_BIT_32(0)
    291291%define CPUMCTX_WSF_IBPB_ENTRY          RT_BIT_32(1)
     292%define CPUMCTX_WSF_L1D_ENTRY           RT_BIT_32(2)
     293
    292294
    293295%define CPUMSELREG_FLAGS_VALID      0x0001
  • trunk/include/VBox/vmm/cpumctx.h

    r76585 r76678  
    943943/** Touch IA32_PRED_CMD.IBPB on VM entry. */
    944944#define CPUMCTX_WSF_IBPB_ENTRY          RT_BIT_32(1)
     945/** Touch IA32_FLUSH_CMD.L1D on VM entry. */
     946#define CPUMCTX_WSF_L1D_ENTRY           RT_BIT_32(2)
    945947/** @} */
    946948
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