VirtualBox

Changeset 76463 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Dec 25, 2018 4:35:54 AM (6 years ago)
Author:
vboxsync
Message:

hm_vmx.h, hm_svm.h: Slightly larger MSRS struct for future expansion.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm_svm.h

    r76438 r76463  
    10241024    uint64_t        u64MsrHwcr;
    10251025    /** Reserved for future. */
    1026     uint64_t        u64Padding[23];
     1026    uint64_t        u64Padding[27];
    10271027} SVMMSRS;
    10281028AssertCompileSizeAlignment(SVMMSRS, 8);
    1029 AssertCompileSize(SVMMSRS, 192);
     1029AssertCompileSize(SVMMSRS, 224);
    10301030/** Pointer to a SVMMSRS struct. */
    10311031typedef SVMMSRS *PSVMMSRS;
  • trunk/include/VBox/vmm/hm_vmx.h

    r76438 r76463  
    10381038/** @name VM-entry failure reported in VM-exit qualification.
    10391039 * See Intel spec. 26.7 "VM-entry failures during or after loading guest-state".
     1040 * @{
    10401041 */
    10411042/** No errors during VM-entry. */
     
    11371138/**
    11381139 * VMX MSRs.
    1139  * @remarks Although treated as a plain-old data (POD) in several places, please
    1140  *          update HMVmxGetHostMsr() if new MSRs are added here.
    11411140 */
    11421141typedef struct VMXMSRS
     
    11611160    uint64_t        u64VmFunc;
    11621161    uint64_t        u64EptVpidCaps;
    1163     uint64_t        a_u64Reserved[5];
     1162    uint64_t        a_u64Reserved[9];
    11641163} VMXMSRS;
    11651164AssertCompileSizeAlignment(VMXMSRS, 8);
    1166 AssertCompileSize(VMXMSRS, 192);
     1165AssertCompileSize(VMXMSRS, 224);
    11671166/** Pointer to a VMXMSRS struct. */
    11681167typedef VMXMSRS *PVMXMSRS;
     
    37183717AssertCompileMemberOffset(VMXVVMCS, u64GuestCr0,        0x6c0);
    37193718AssertCompileMemberOffset(VMXVVMCS, u64HostCr0,         0x860);
    3720 /** @} */
    37213719
    37223720/**
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