Changeset 87881 in vbox
- Timestamp:
- Feb 26, 2021 5:09:24 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r87868 r87881 4207 4207 #ifdef VBOX_WITH_STATISTICS 4208 4208 if (!fBulk) 4209 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMem Read));4209 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMemWrite)); 4210 4210 else 4211 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMemBulk Read));4211 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMemBulkWrite)); 4212 4212 #else 4213 4213 RT_NOREF2(pThis, fBulk); … … 4221 4221 #ifdef VBOX_WITH_STATISTICS 4222 4222 if (!fBulk) 4223 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMem Write));4223 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMemRead)); 4224 4224 else 4225 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMemBulk Write));4225 STAM_COUNTER_INC(&pThis->CTX_SUFF_Z(StatMemBulkRead)); 4226 4226 #else 4227 4227 RT_NOREF2(pThis, fBulk); … … 6037 6037 } 6038 6038 6039 6039 6040 /** 6040 6041 * @callback_method_impl{FNDBGFHANDLERDEV} … … 6697 6698 IOMMU_LOCK_NORET(pDevIns, pThisR3); 6698 6699 6699 /* Close the command thread semaphore. */6700 6700 if (pThis->hEvtCmdThread != NIL_SUPSEMEVENT) 6701 6701 { … … 6705 6705 6706 6706 #ifdef IOMMU_WITH_IOTLBE_CACHE 6707 /* Destroy the IOTLB cache. */6708 6707 if (pThisR3->paIotlbes) 6709 6708 { … … 6855 6854 /* 6856 6855 * Register MSI support for the PCI device. 6857 * This must be done -after- register it as a PCI device!6856 * This must be done -after- registering it as a PCI device! 6858 6857 */ 6859 6858 rc = PDMDevHlpPCIRegisterMsi(pDevIns, &MsiReg); … … 6880 6879 6881 6880 /* 6882 * Register saved state .6881 * Register saved state handlers. 6883 6882 */ 6884 6883 rc = PDMDevHlpSSMRegisterEx(pDevIns, IOMMU_SAVED_STATE_VERSION, sizeof(IOMMU), NULL /* pszBefore */,
Note:
See TracChangeset
for help on using the changeset viewer.