Changeset 60847 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- May 5, 2016 3:24:46 PM (9 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r59999 r60847 1626 1626 pVCpu->hm.s.PendingIO.s.Port.uAndVal = uAndVal; 1627 1627 pVCpu->hm.s.PendingIO.s.Port.cbSize = cbSize; 1628 /** @todo IOM will do this stuff, retire the HM feature. */ 1628 1629 return; 1629 1630 } … … 1649 1650 pVCpu->hm.s.PendingIO.s.Port.uAndVal = uAndVal; 1650 1651 pVCpu->hm.s.PendingIO.s.Port.cbSize = cbSize; 1652 /** @todo IOM will do this stuff, retire the HM feature. */ 1651 1653 return; 1652 1654 } -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r60812 r60847 4986 4986 hmR0SvmSetPendingXcptDB(pVCpu); 4987 4987 } 4988 /* rcStrict is VINF_SUCCESS or in [VINF_EM_FIRST..VINF_EM_LAST]. */ 4988 /* rcStrict is VINF_SUCCESS, VINF_IOM_R3_IOPORT_COMMIT_WRITE, or in [VINF_EM_FIRST..VINF_EM_LAST], 4989 however we can ditch VINF_IOM_R3_IOPORT_COMMIT_WRITE as it has VMCPU_FF_IOM as backup. */ 4989 4990 else if ( rcStrict2 != VINF_SUCCESS 4990 4991 && (rcStrict == VINF_SUCCESS || rcStrict2 < rcStrict)) 4991 4992 rcStrict = rcStrict2; 4993 AssertCompile(VINF_EM_LAST < VINF_IOM_R3_IOPORT_COMMIT_WRITE); 4992 4994 4993 4995 HM_RESTORE_PREEMPT(); … … 5001 5003 if (rcStrict == VINF_IOM_R3_IOPORT_READ) 5002 5004 Assert(IoExitInfo.n.u1Type == SVM_IOIO_READ); 5003 else if (rcStrict == VINF_IOM_R3_IOPORT_WRITE )5005 else if (rcStrict == VINF_IOM_R3_IOPORT_WRITE || rcStrict == VINF_IOM_R3_IOPORT_COMMIT_WRITE) 5004 5006 Assert(IoExitInfo.n.u1Type == SVM_IOIO_WRITE); 5005 5007 else -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r60811 r60847 12364 12364 hmR0VmxSetPendingXcptDB(pVCpu, pMixedCtx); 12365 12365 } 12366 /* rcStrict is VINF_SUCCESS or in [VINF_EM_FIRST..VINF_EM_LAST]. */ 12366 /* rcStrict is VINF_SUCCESS, VINF_IOM_R3_IOPORT_COMMIT_WRITE, or in [VINF_EM_FIRST..VINF_EM_LAST], 12367 however we can ditch VINF_IOM_R3_IOPORT_COMMIT_WRITE as it has VMCPU_FF_IOM as backup. */ 12367 12368 else if ( rcStrict2 != VINF_SUCCESS 12368 12369 && (rcStrict == VINF_SUCCESS || rcStrict2 < rcStrict)) 12369 12370 rcStrict = rcStrict2; 12371 AssertCompile(VINF_EM_LAST < VINF_IOM_R3_IOPORT_COMMIT_WRITE); 12370 12372 12371 12373 HM_RESTORE_PREEMPT(); … … 12377 12379 if (rcStrict == VINF_IOM_R3_IOPORT_READ) 12378 12380 Assert(!fIOWrite); 12379 else if (rcStrict == VINF_IOM_R3_IOPORT_WRITE )12381 else if (rcStrict == VINF_IOM_R3_IOPORT_WRITE || rcStrict == VINF_IOM_R3_IOPORT_COMMIT_WRITE) 12380 12382 Assert(fIOWrite); 12381 12383 else -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r60398 r60847 761 761 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetIOWrite); 762 762 break; 763 case VINF_IOM_R3_IOPORT_COMMIT_WRITE: 764 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetIOCommitWrite); 765 break; 763 766 case VINF_IOM_R3_MMIO_READ: 764 767 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetMMIORead); … … 767 770 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetMMIOWrite); 768 771 break; 772 case VINF_IOM_R3_MMIO_COMMIT_WRITE: 773 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetMMIOCommitWrite); 774 break; 769 775 case VINF_IOM_R3_MMIO_READ_WRITE: 770 776 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetMMIOReadWrite); … … 825 831 break; 826 832 case VINF_EM_RAW_TO_R3: 833 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetToR3Total); 827 834 if (VM_FF_IS_PENDING(pVM, VM_FF_TM_VIRTUAL_SYNC)) 828 835 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetToR3TMVirt); … … 840 847 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetToR3CritSect); 841 848 else if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_TO_R3)) 842 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetToR3); 849 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetToR3FF); 850 else if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_IEM)) 851 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetToR3Iem); 852 else if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_IOM)) 853 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetToR3Iom); 843 854 else 844 855 STAM_COUNTER_INC(&pVM->vmm.s.StatRZRetToR3Unknown);
Note:
See TracChangeset
for help on using the changeset viewer.