Changeset 78611 in vbox for trunk/src/VBox
- Timestamp:
- May 21, 2019 4:34:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h
r78592 r78611 2171 2171 2172 2172 /* LDTR (Warning! do not touch the base and limits here). */ 2173 pVCpu->cpum.GstCtx.ldtr.Sel = 0;2174 pVCpu->cpum.GstCtx.ldtr.ValidSel = 0;2175 pVCpu->cpum.GstCtx.ldtr.fFlags = CPUMSELREG_FLAGS_VALID;2176 pVCpu->cpum.GstCtx.ldtr.Attr.u = X86DESCATTR_UNUSABLE;2173 pVCpu->cpum.GstCtx.ldtr.Sel = 0; 2174 pVCpu->cpum.GstCtx.ldtr.ValidSel = 0; 2175 pVCpu->cpum.GstCtx.ldtr.fFlags = CPUMSELREG_FLAGS_VALID; 2176 pVCpu->cpum.GstCtx.ldtr.Attr.u = X86DESCATTR_UNUSABLE; 2177 2177 2178 2178 /* GDTR. */ … … 3576 3576 if (uInstrId == VMXINSTRID_IO_INS) 3577 3577 { 3578 uDirection = VMX_EXIT_QUAL_IO_DIRECTION_IN;3578 uDirection = VMX_EXIT_QUAL_IO_DIRECTION_IN; 3579 3579 uGuestLinearAddr = pVCpu->cpum.GstCtx.aSRegs[iSegReg].u64Base + (pVCpu->cpum.GstCtx.rdi & uAddrSizeMask); 3580 3580 } 3581 3581 else 3582 3582 { 3583 uDirection = VMX_EXIT_QUAL_IO_DIRECTION_OUT;3583 uDirection = VMX_EXIT_QUAL_IO_DIRECTION_OUT; 3584 3584 uGuestLinearAddr = pVCpu->cpum.GstCtx.aSRegs[iSegReg].u64Base + (pVCpu->cpum.GstCtx.rsi & uAddrSizeMask); 3585 3585 } 3586 3586 3587 3587 /* 3588 * If the segment is unu nsable, the guest-linear address in undefined.3588 * If the segment is unusable, the guest-linear address in undefined. 3589 3589 * We shall clear it for consistency. 3590 3590 * … … 4790 4790 * 4791 4791 * @returns VBox status code. 4792 * @retval VINF_SUCCES when the highest set bit is found.4792 * @retval VINF_SUCCESS when the highest set bit is found. 4793 4793 * @retval VERR_NOT_FOUND when no bit is set. 4794 4794 * … … 7615 7615 /* 7616 7616 * Blocking of NMIs need to be restored if VM-entry fails due to invalid-guest state. 7617 * So we save the theVMCPU_FF_BLOCK_NMI force-flag here so we can restore it on7617 * So we save the VMCPU_FF_BLOCK_NMI force-flag here so we can restore it on 7618 7618 * VM-exit when required. 7619 7619 * See Intel spec. 26.7 "VM-entry Failures During or After Loading Guest State"
Note:
See TracChangeset
for help on using the changeset viewer.