Changeset 74703 in vbox for trunk/src/VBox
- Timestamp:
- Oct 9, 2018 8:13:35 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r74702 r74703 7992 7992 * Raise exceptions. 7993 7993 */ 7994 if (!(pVCpu->cpum.GstCtx.cr4 & X86_CR4_OSXSAVE)) 7995 return iemRaiseUndefinedOpcode(pVCpu); 7994 7996 /* When in VMX non-root mode and XSAVE/XRSTOR is not enabled, it results in #UD. */ 7995 7997 if ( IEM_VMX_IS_NON_ROOT_MODE(pVCpu) … … 7999 8001 return iemRaiseUndefinedOpcode(pVCpu); 8000 8002 } 8001 if (!(pVCpu->cpum.GstCtx.cr4 & X86_CR4_OSXSAVE))8002 return iemRaiseUndefinedOpcode(pVCpu);8003 8003 if (pVCpu->cpum.GstCtx.cr0 & X86_CR0_TS) 8004 8004 return iemRaiseDeviceNotAvailable(pVCpu); … … 8155 8155 * Raise exceptions. 8156 8156 */ 8157 if (!(pVCpu->cpum.GstCtx.cr4 & X86_CR4_OSXSAVE)) 8158 return iemRaiseUndefinedOpcode(pVCpu); 8157 8159 /* When in VMX non-root mode and XSAVE/XRSTOR is not enabled, it results in #UD. */ 8158 8160 if ( IEM_VMX_IS_NON_ROOT_MODE(pVCpu) … … 8162 8164 return iemRaiseUndefinedOpcode(pVCpu); 8163 8165 } 8164 if (!(pVCpu->cpum.GstCtx.cr4 & X86_CR4_OSXSAVE))8165 return iemRaiseUndefinedOpcode(pVCpu);8166 8166 if (pVCpu->cpum.GstCtx.cr0 & X86_CR0_TS) 8167 8167 return iemRaiseDeviceNotAvailable(pVCpu);
Note:
See TracChangeset
for help on using the changeset viewer.