Changeset 16108 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Jan 21, 2009 12:16:27 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 41823
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllA.asm
r15416 r16108 156 156 %endif 157 157 %ifndef RT_ARCH_AMD64 158 mov eax, edx 159 ; Calculate the PCPUM pointer 158 mov eax, edx ; Calculate the PCPUM pointer 160 159 sub eax, [edx + CPUMCPU.ulOffCPUM] 161 160 test dword [eax + CPUM.CPUFeatures.edx], X86_CPUID_FEATURE_EDX_FXSR … … 179 178 fnsave [xDX + CPUMCPU.Host.fpu] 180 179 or dword [xDX + CPUMCPU.fUseFlags], dword (CPUM_USED_FPU | CPUM_USED_FPU_SINCE_REM) ; yasm / nasm 181 mov eax, [xDX + CPUMCPU.Guest.fpu] ; control word180 mov eax, [xDX + CPUMCPU.Guest.fpu] ; control word 182 181 not eax ; 1 means exception ignored (6 LS bits) 183 182 and eax, byte 03Fh ; 6 LS bits only 184 test eax, [xDX + CPUMCPU.Guest.fpu + 4] ; status word183 test eax, [xDX + CPUMCPU.Guest.fpu + 4] ; status word 185 184 jz short hlfpua_no_exceptions_pending 186 185 ; technically incorrect, but we certainly don't want any exceptions now!!
Note:
See TracChangeset
for help on using the changeset viewer.