VirtualBox

Changeset 66403 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 3, 2017 3:21:26 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114356
Message:

CPUM: Added the MXCSR mask to the CPU database and CPUM::GuestInfo as well as the host one to CPUM::fHostMxCsrMask. Need it for correctly implementing LDMXCSR, FXRSTOR and XSTOR.

File:
1 edited

Legend:

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

    r66327 r66403  
    10421042    uint32_t        fPadding : 23;
    10431043
    1044     /** Hardware virtualization features. */
     1044    /** Hardware virtualization features.
     1045     *
     1046     *  @todo r=bird: Please drop the unions and flatten this as much as possible.
     1047     *        Prefix the names with 'Svm' 'Vmx' if there is any confusion. Group the
     1048     *        flags into common and specific bunches.
     1049     *
     1050     */
    10451051    union
    10461052    {
     
    15461552VMMDECL(uint32_t)       CPUMGetGuestCodeBits(PVMCPU pVCpu);
    15471553VMMDECL(DISCPUMODE)     CPUMGetGuestDisMode(PVMCPU pVCpu);
     1554VMMDECL(uint32_t)       CPUMGetGuestMxCsrMask(PVM pVM);
    15481555VMMDECL(uint64_t)       CPUMGetGuestScalableBusFrequency(PVM pVM);
    15491556VMMDECL(int)            CPUMGetValidateEfer(PVM pVM, uint64_t uCr0, uint64_t uOldEfer, uint64_t uNewEfer,
     
    15911598VMMR3DECL(CPUMCPUVENDOR)    CPUMR3CpuIdDetectVendorEx(uint32_t uEAX, uint32_t uEBX, uint32_t uECX, uint32_t uEDX);
    15921599VMMR3DECL(const char *)     CPUMR3CpuVendorName(CPUMCPUVENDOR enmVendor);
     1600VMMR3DECL(uint32_t)         CPUMR3DeterminHostMxCsrMask(void);
    15931601
    15941602VMMR3DECL(int)              CPUMR3MsrRangesInsert(PVM pVM, PCCPUMMSRRANGE pNewRange);
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