VirtualBox

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/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r66227 r66403  
    25282528}
    25292529
     2530
     2531/**
     2532 * Gets the guest MXCSR_MASK value.
     2533 *
     2534 * This does not access the x87 state, but the value we determined at VM
     2535 * initialization.
     2536 *
     2537 * @returns MXCSR mask.
     2538 * @param   pVM                 The cross context VM structure.
     2539 */
     2540VMMDECL(uint32_t) CPUMGetGuestMxCsrMask(PVM pVM)
     2541{
     2542    return pVM->cpum.s.GuestInfo.fMxCsrMask;
     2543}
     2544
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