Changeset 16109 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jan 21, 2009 1:35:14 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 41824
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp
r16108 r16109 173 173 /* Save/Restore the state on entry as we need to be in 64 bits mode to access the full state. */ 174 174 pVCpu->cpum.s.fUseFlags |= CPUM_SYNC_FPU_STATE | CPUM_USED_FPU; 175 /** @todo who is saving the host state?? */ 175 176 } 176 177 else … … 263 264 } 264 265 265 pVCpu->cpum.s.fUseFlags |= CPUM_USED_FPU ; /** @todo clean up, this is done above by the ASM worker. */266 pVCpu->cpum.s.fUseFlags |= CPUM_USED_FPU | CPUM_USED_FPU_SINCE_REM; /** @todo clean up, this is done above by the ASM worker. */ 266 267 return VINF_SUCCESS; 267 268 } -
trunk/src/VBox/VMM/VMMR0/CPUMR0A.asm
r16108 r16109 84 84 85 85 ; Switch the state. 86 or dword [xDX + CPUMCPU.fUseFlags], CPUM_USED_FPU86 or dword [xDX + CPUMCPU.fUseFlags], (CPUM_USED_FPU | CPUM_USED_FPU_SINCE_REM) 87 87 88 88 mov xAX, cr0 ; Make sure its safe to access the FPU state.
Note:
See TracChangeset
for help on using the changeset viewer.