Changeset 47670 in vbox
- Timestamp:
- Aug 12, 2013 11:12:40 AM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r47660 r47670 4575 4575 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitGuestDB); 4576 4576 4577 /* If we sat the trap flag above, we have to clear it. */ /** @todo HM should remember what it does and possibly do this elsewhere! */ 4577 /* If we set the trap flag above, we have to clear it. */ 4578 /** @todo HM should remember what it does and possibly do this elsewhere! */ 4578 4579 if (pVCpu->hm.s.fSingleInstruction || DBGFIsStepping(pVCpu)) 4579 4580 pCtx->eflags.Bits.u1TF = 0; -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r47662 r47670 6048 6048 Assert(!CPUMIsGuestDebugStateActive(pVCpu)); 6049 6049 Assert(!CPUMIsHyperDebugStateActive(pVCpu)); 6050 6051 6050 6052 6051 STAM_PROFILE_ADV_SET_STOPPED(&pVCpu->hm.s.StatEntry); … … 7882 7881 VMX_IGS_INTERRUPTIBILITY_STATE_STI_MOVSS_INVALID); 7883 7882 HMVMX_CHECK_BREAK( (u32EFlags & X86_EFL_IF) 7884 || (u32IntrState & VMX_VMCS_GUEST_INTERRUPTIBILITY_STATE_BLOCK_STI),7883 || !(u32IntrState & VMX_VMCS_GUEST_INTERRUPTIBILITY_STATE_BLOCK_STI), 7885 7884 VMX_IGS_INTERRUPTIBILITY_STATE_STI_EFL_INVALID); 7886 7885 if (VMX_ENTRY_INTERRUPTION_INFO_VALID(u32EntryInfo)) … … 9114 9113 { 9115 9114 /* 9116 * If any I/O breakpoints are armed, then we should check if a 9117 * debug trap needs to be generated. 9115 * If any I/O breakpoints are armed, then we should check if a debug trap needs to be generated. 9118 9116 * Note that the I/O breakpoint type is undefined if CR4.DE is 0. 9119 9117 */ … … 9139 9137 * bootsector testcase for asserting the correct behavior (as well as 9140 9138 * correctness of this code). */ 9141 /** @todo r=bird: DR0-3 are normally in host registe s when the guest is using9139 /** @todo r=bird: DR0-3 are normally in host registers when the guest is using 9142 9140 * them, so we're testing against potentially stale values here! */ 9143 9141 STAM_COUNTER_INC(&pVCpu->hm.s.StatDRxIoCheck);
Note:
See TracChangeset
for help on using the changeset viewer.