- Timestamp:
- Apr 18, 2007 1:46:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r2172 r2176 542 542 543 543 /* Check for pending actions that force us to go back to ring 3. */ 544 if (VM_FF_ISPENDING(pVM, VM_FF_TO_R3 | VM_FF_TIMER)) 545 { 546 VM_FF_CLEAR(pVM, VM_FF_TO_R3); 547 STAM_COUNTER_INC(&pVM->hwaccm.s.StatSwitchToR3); 548 STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatEntry, x); 549 rc = VINF_EM_RAW_TO_R3; 550 goto end; 551 } 544 #ifdef DEBUG 545 /* Intercept X86_XCPT_DB if stepping is enabled */ 546 if (!DBGFIsStepping(pVM)) 547 #endif 548 { 549 if (VM_FF_ISPENDING(pVM, VM_FF_TO_R3 | VM_FF_TIMER)) 550 { 551 VM_FF_CLEAR(pVM, VM_FF_TO_R3); 552 STAM_COUNTER_INC(&pVM->hwaccm.s.StatSwitchToR3); 553 STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatEntry, x); 554 rc = VINF_EM_RAW_TO_R3; 555 goto end; 556 } 557 } 558 552 559 /* Pending request packets might contain actions that need immediate attention, such as pending hardware interrupts. */ 553 560 if (VM_FF_ISPENDING(pVM, VM_FF_REQUEST))
Note:
See TracChangeset
for help on using the changeset viewer.