Changeset 48174 in vbox
- Timestamp:
- Aug 30, 2013 1:55:50 AM (11 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r48153 r48174 1370 1370 CPUMR0LoadHyperDebugState(pVCpu, false /* include DR6 */); 1371 1371 Assert(!CPUMIsGuestDebugStateActive(pVCpu)); 1372 Assert(CPUMIsHyperDebugStateActive(pVCpu) );1372 Assert(CPUMIsHyperDebugStateActive(pVCpu) || HC_ARCH_BITS == 32); 1373 1373 1374 1374 /* Update DR6 & DR7. (The other DRx values are handled by CPUM one way or the other.) */ … … 1412 1412 } 1413 1413 Assert(!CPUMIsHyperDebugStateActive(pVCpu)); 1414 Assert(CPUMIsGuestDebugStateActive(pVCpu) );1414 Assert(CPUMIsGuestDebugStateActive(pVCpu) || HC_ARCH_BITS == 32); 1415 1415 Log5(("hm: Loaded guest DRx\n")); 1416 1416 } … … 4170 4170 /* Save the host & load the guest debug state, restart execution of the MOV DRx instruction. */ 4171 4171 CPUMR0LoadGuestDebugState(pVCpu, false /* include DR6 */); 4172 Assert(CPUMIsGuestDebugStateActive(pVCpu) );4172 Assert(CPUMIsGuestDebugStateActive(pVCpu) || HC_ARCH_BITS == 32); 4173 4173 4174 4174 STAM_COUNTER_INC(&pVCpu->hm.s.StatDRxContextSwitch); -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r48156 r48174 3407 3407 CPUMR0LoadHyperDebugState(pVCpu, true /* include DR6 */); 3408 3408 Assert(!CPUMIsGuestDebugStateActive(pVCpu)); 3409 Assert(CPUMIsHyperDebugStateActive(pVCpu) );3409 Assert(CPUMIsHyperDebugStateActive(pVCpu) || HC_ARCH_BITS == 32); 3410 3410 3411 3411 /* Update DR7. (The other DRx values are handled by CPUM one way or the other.) */ … … 3430 3430 } 3431 3431 Assert(!CPUMIsHyperDebugStateActive(pVCpu)); 3432 Assert(CPUMIsGuestDebugStateActive(pVCpu) );3432 Assert(CPUMIsGuestDebugStateActive(pVCpu) || HC_ARCH_BITS == 32); 3433 3433 } 3434 3434 /* … … 9876 9876 PVM pVM = pVCpu->CTX_SUFF(pVM); 9877 9877 CPUMR0LoadGuestDebugState(pVCpu, true /* include DR6 */); 9878 Assert(CPUMIsGuestDebugStateActive(pVCpu) );9878 Assert(CPUMIsGuestDebugStateActive(pVCpu) || HC_ARCH_BITS == 32); 9879 9879 9880 9880 HM_RESTORE_PREEMPT_IF_NEEDED();
Note:
See TracChangeset
for help on using the changeset viewer.