Changeset 72771 in vbox
- Timestamp:
- Jun 29, 2018 11:25:05 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123312
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r72762 r72771 1185 1185 Log4Func(("%#RGv\n", GCVirt)); 1186 1186 1187 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu);1187 PCPUMCTX pCtx = &pVCpu->cpum.GstCtx; 1188 1188 PSVMVMCB pVmcb = hmR0SvmGetCurrentVmcb(pVCpu, pCtx); 1189 1189 AssertMsgReturn(pVmcb, ("Invalid pVmcb!\n"), VERR_SVM_INVALID_PVMCB); -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r72770 r72771 2671 2671 */ 2672 2672 if ( ((pSel->u32Limit & 0xfff00000) == 0x00000000 || pSel->Attr.n.u1Granularity) 2673 && ((pSel->u32Limit & 0x00000fff) == 0x00000fff || !pSel->Attr.n.u1Granularity) 2673 && ((pSel->u32Limit & 0x00000fff) == 0x00000fff || !pSel->Attr.n.u1Granularity)) 2674 2674 return true; 2675 2675 return false; … … 2722 2722 */ 2723 2723 if ( ((pSel->u32Limit & 0xfff00000) == 0x00000000 || pSel->Attr.n.u1Granularity) 2724 && ((pSel->u32Limit & 0x00000fff) == 0x00000fff || !pSel->Attr.n.u1Granularity) 2724 && ((pSel->u32Limit & 0x00000fff) == 0x00000fff || !pSel->Attr.n.u1Granularity)) 2725 2725 return true; 2726 2726 } … … 2776 2776 */ 2777 2777 if ( ((pSel->u32Limit & 0xfff00000) == 0x00000000 || pSel->Attr.n.u1Granularity) 2778 && ((pSel->u32Limit & 0x00000fff) == 0x00000fff || !pSel->Attr.n.u1Granularity) 2778 && ((pSel->u32Limit & 0x00000fff) == 0x00000fff || !pSel->Attr.n.u1Granularity)) 2779 2779 return true; 2780 2780 return false;
Note:
See TracChangeset
for help on using the changeset viewer.