Changeset 72441 in vbox for trunk/src/VBox
- Timestamp:
- Jun 5, 2018 5:45:38 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r72251 r72441 3669 3669 VBOXSTRICTRC rcStrict = iemMemFetchDataU32(pVCpu, (uint32_t *)&Idte, UINT8_MAX, pCtx->idtr.pIdt + UINT32_C(4) * u8Vector); 3670 3670 if (RT_UNLIKELY(rcStrict != VINF_SUCCESS)) 3671 { 3672 Log(("iemRaiseXcptOrIntInRealMode: failed to fetch IDT entry! vec=%#x rc=%Rrc\n", u8Vector, VBOXSTRICTRC_VAL(rcStrict))); 3671 3673 return rcStrict; 3674 } 3672 3675 3673 3676 /* … … 4693 4696 pCtx->idtr.pIdt + UINT32_C(8) * u8Vector); 4694 4697 if (RT_UNLIKELY(rcStrict != VINF_SUCCESS)) 4698 { 4699 Log(("iemRaiseXcptOrIntInProtMode: failed to fetch IDT entry! vec=%#x rc=%Rrc\n", u8Vector, VBOXSTRICTRC_VAL(rcStrict))); 4695 4700 return rcStrict; 4701 } 4696 4702 Log(("iemRaiseXcptOrIntInProtMode: vec=%#x P=%u DPL=%u DT=%u:%u A=%u %04x:%04x%04x\n", 4697 4703 u8Vector, Idte.Gate.u1Present, Idte.Gate.u2Dpl, Idte.Gate.u1DescType, Idte.Gate.u4Type, … … 5154 5160 rcStrict = iemMemFetchSysU64(pVCpu, &Idte.au64[1], UINT8_MAX, pCtx->idtr.pIdt + offIdt + 8); 5155 5161 if (RT_UNLIKELY(rcStrict != VINF_SUCCESS)) 5162 { 5163 Log(("iemRaiseXcptOrIntInLongMode: failed to fetch IDT entry! vec=%#x rc=%Rrc\n", u8Vector, VBOXSTRICTRC_VAL(rcStrict))); 5156 5164 return rcStrict; 5165 } 5157 5166 Log(("iemRaiseXcptOrIntInLongMode: vec=%#x P=%u DPL=%u DT=%u:%u IST=%u %04x:%08x%04x%04x\n", 5158 5167 u8Vector, Idte.Gate.u1Present, Idte.Gate.u2Dpl, Idte.Gate.u1DescType, Idte.Gate.u4Type, … … 5591 5600 pVCpu->iem.s.uCurXcpt = uPrevXcpt; 5592 5601 pVCpu->iem.s.fCurXcpt = fPrevXcpt; 5593 Log(("iemRaiseXcptOrInt: returns %Rrc (vec=%#x); cs:rip=%04x:%RGv ss:rsp=%04x:%RGv cpl=%u\n", 5594 VBOXSTRICTRC_VAL(rcStrict), u8Vector, pCtx->cs.Sel, pCtx->rip, pCtx->ss.Sel, pCtx->esp, pVCpu->iem.s.uCpl)); 5602 Log(("iemRaiseXcptOrInt: returns %Rrc (vec=%#x); cs:rip=%04x:%RGv ss:rsp=%04x:%RGv cpl=%u depth=%d\n", 5603 VBOXSTRICTRC_VAL(rcStrict), u8Vector, pCtx->cs.Sel, pCtx->rip, pCtx->ss.Sel, pCtx->esp, pVCpu->iem.s.uCpl, 5604 pVCpu->iem.s.cXcptRecursions + 1)); 5595 5605 return rcStrict; 5596 5606 } … … 8111 8121 if (RT_FAILURE(rc)) 8112 8122 { 8123 Log(("iemMemPageTranslateAndCheckAccess: GCPtrMem=%RGv - failed to fetch page -> #PF\n", GCPtrMem)); 8113 8124 /** @todo Check unassigned memory in unpaged mode. */ 8114 8125 /** @todo Reserved bits in page tables. Requires new PGM interface. */ … … 15632 15643 VBOXSTRICTRC rcStrict = IEMInjectTrap(pVCpu, u8TrapNo, enmType, uErrCode, uCr2, cbInstr); 15633 15644 15645 #ifdef VBOX_WITH_NESTED_HWVIRT_SVM 15646 if (rcStrict == VINF_SVM_VMEXIT) 15647 rcStrict = VINF_SUCCESS; 15648 #endif 15649 15634 15650 /** @todo Are there any other codes that imply the event was successfully 15635 15651 * delivered to the guest? See @bugref{6607}. */
Note:
See TracChangeset
for help on using the changeset viewer.