Changeset 91287 in vbox for trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h
- Timestamp:
- Sep 16, 2021 9:30:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h
r82968 r91287 150 150 PSVMVMCB pVmcbMem; 151 151 PGMPAGEMAPLOCK PgLockMem; 152 PSVMVMCBCTRL pVmcbCtrl = &pVCpu->cpum.GstCtx.hwvirt.svm. CTX_SUFF(pVmcb)->ctrl;152 PSVMVMCBCTRL pVmcbCtrl = &pVCpu->cpum.GstCtx.hwvirt.svm.Vmcb.ctrl; 153 153 rcStrict = iemMemPageMap(pVCpu, pVCpu->cpum.GstCtx.hwvirt.svm.GCPhysVmcb, IEM_ACCESS_DATA_RW, (void **)&pVmcbMem, 154 154 &PgLockMem); … … 380 380 */ 381 381 PVMCC pVM = pVCpu->CTX_SUFF(pVM); 382 int rc = PGMPhysSimpleReadGCPhys(pVM, pVCpu->cpum.GstCtx.hwvirt.svm.CTX_SUFF(pVmcb), GCPhysVmcb, sizeof(SVMVMCB));382 int rc = PGMPhysSimpleReadGCPhys(pVM, &pVCpu->cpum.GstCtx.hwvirt.svm.Vmcb, GCPhysVmcb, sizeof(SVMVMCB)); 383 383 if (RT_SUCCESS(rc)) 384 384 { … … 395 395 * typically enter hardware-assisted SVM soon anyway, see @bugref{7243#c113}. 396 396 */ 397 PSVMVMCBCTRL pVmcbCtrl = &pVCpu->cpum.GstCtx.hwvirt.svm. CTX_SUFF(pVmcb)->ctrl;398 PSVMVMCBSTATESAVE pVmcbNstGst = &pVCpu->cpum.GstCtx.hwvirt.svm. CTX_SUFF(pVmcb)->guest;397 PSVMVMCBCTRL pVmcbCtrl = &pVCpu->cpum.GstCtx.hwvirt.svm.Vmcb.ctrl; 398 PSVMVMCBSTATESAVE pVmcbNstGst = &pVCpu->cpum.GstCtx.hwvirt.svm.Vmcb.guest; 399 399 400 400 RT_ZERO(pVmcbCtrl->u8Reserved0); … … 916 916 && !(uErr & X86_TRAP_PF_ID)) 917 917 { 918 PSVMVMCBCTRL pVmcbCtrl = &pVCpu->cpum.GstCtx.hwvirt.svm. CTX_SUFF(pVmcb)->ctrl;918 PSVMVMCBCTRL pVmcbCtrl = &pVCpu->cpum.GstCtx.hwvirt.svm.Vmcb.ctrl; 919 919 # ifdef IEM_WITH_CODE_TLB 920 920 uint8_t const *pbInstrBuf = pVCpu->iem.s.pbInstrBuf; … … 934 934 IEM_SVM_UPDATE_NRIP(pVCpu); 935 935 Log2(("iemHandleSvmNstGstEventIntercept: Xcpt intercept u32InterceptXcpt=%#RX32 u8Vector=%#x " 936 "uExitInfo1=%#RX64 uExitInfo2=%#RX64 -> #VMEXIT\n", pVCpu->cpum.GstCtx.hwvirt.svm. CTX_SUFF(pVmcb)->ctrl.u32InterceptXcpt,936 "uExitInfo1=%#RX64 uExitInfo2=%#RX64 -> #VMEXIT\n", pVCpu->cpum.GstCtx.hwvirt.svm.Vmcb.ctrl.u32InterceptXcpt, 937 937 u8Vector, uExitInfo1, uExitInfo2)); 938 938 IEM_SVM_VMEXIT_RET(pVCpu, SVM_EXIT_XCPT_0 + u8Vector, uExitInfo1, uExitInfo2);
Note:
See TracChangeset
for help on using the changeset viewer.