VirtualBox

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


Ignore:
Timestamp:
Jan 21, 2009 1:42:23 AM (16 years ago)
Author:
vboxsync
Message:

cpumR0SaveHostRestoreGuestFPUState sets CPUM_USED_FPU, unnecessary to set it a third time.

File:
1 edited

Legend:

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

    r16109 r16111  
    172172    {
    173173        /* Save/Restore the state on entry as we need to be in 64 bits mode to access the full state. */
    174         pVCpu->cpum.s.fUseFlags |= CPUM_SYNC_FPU_STATE | CPUM_USED_FPU;
     174        pVCpu->cpum.s.fUseFlags |= CPUM_SYNC_FPU_STATE | CPUM_USED_FPU | CPUM_USED_FPU_SINCE_REM;
    175175        /** @todo who is saving the host state??  */
    176176    }
     
    194194        /* Do the job and record that we've switched FPU state. */
    195195        cpumR0SaveHostRestoreGuestFPUState(&pVCpu->cpum.s);
    196         pVCpu->cpum.s.fUseFlags |= CPUM_USED_FPU;
    197196
    198197        /* Restore EFER. */
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