VirtualBox

Changeset 95088 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 25, 2022 6:58:51 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151561
Message:

VMM: bugref:10209 Call support driver FPU begin/end operations from VMM R0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp

    r94943 r95088  
    520520    Assert(!(pVCpu->cpum.s.fUseFlags & CPUM_USED_FPU_GUEST));
    521521
     522    /* Notify the support driver prior to loading the guest-FPU register state. */
     523    SUPR0FpuBegin(false /* unused */);
     524
    522525    if (!pVM->cpum.s.HostFeatures.fLeakyFxSR)
    523526    {
     
    565568    if (pVCpu->cpum.s.fUseFlags & (CPUM_USED_FPU_GUEST | CPUM_USED_FPU_HOST))
    566569    {
     570        /* Notify the support driver prior to loading the host-FPU register state. */
     571        SUPR0FpuEnd(false /* unused */);
     572
    567573        fSavedGuest = RT_BOOL(pVCpu->cpum.s.fUseFlags & CPUM_USED_FPU_GUEST);
    568574        Assert(fSavedGuest == pVCpu->cpum.s.Guest.fUsedFpuGuest);
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