- Timestamp:
- Apr 6, 2020 2:51:17 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136957
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r83583 r83590 2146 2146 2147 2147 /** 2148 * @callback_method_impl{FNPCICONFIGREAD} 2149 */ 2150 static DECLCALLBACK(VBOXSTRICTRC) iommuAmdR3PciConfigRead(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, uint32_t uAddress, 2151 unsigned cb, uint32_t *pu32Value) 2152 { 2153 /** @todo IOMMU: PCI config read stat counter. */ 2154 VBOXSTRICTRC rcStrict = PDMDevHlpPCIConfigRead(pDevIns, pPciDev, uAddress, cb, pu32Value); 2155 Log3((IOMMU_LOG_PFX ": PCI config read: At %#x (%u) -> %#x %Rrc\n", uAddress, cb, *pu32Value, VBOXSTRICTRC_VAL(rcStrict))); 2156 return rcStrict; 2157 } 2158 2159 2160 /** 2161 * @callback_method_impl{FNPCICONFIGWRITE} 2162 */ 2163 static DECLCALLBACK(VBOXSTRICTRC) iommuAmdR3PciConfigWrite(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, uint32_t uAddress, 2164 unsigned cb, uint32_t u32Value) 2165 { 2166 /** @todo IOMMU: PCI config write. */ 2167 VBOXSTRICTRC rcStrict = PDMDevHlpPCIConfigWrite(pDevIns, pPciDev, uAddress, cb, u32Value); 2168 Log3((IOMMU_LOG_PFX ": PCI config write: %#x -> To %#x (%u) %Rrc\n", u32Value, uAddress, cb, VBOXSTRICTRC_VAL(rcStrict))); 2169 return rcStrict; 2170 } 2171 2172 2173 /** 2148 2174 * @callback_method_impl{FNDBGFHANDLERDEV} 2149 2175 */ … … 2691 2717 } 2692 2718 } 2693 }2694 2695 2696 /**2697 * @callback_method_impl{FNPCICONFIGREAD}2698 */2699 static DECLCALLBACK(VBOXSTRICTRC) iommuAmdR3PciConfigRead(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, uint32_t uAddress,2700 unsigned cb, uint32_t *pu32Value)2701 {2702 /** @todo IOMMU: PCI config read stat counter. */2703 VBOXSTRICTRC rcStrict = PDMDevHlpPCIConfigRead(pDevIns, pPciDev, uAddress, cb, pu32Value);2704 Log3((IOMMU_LOG_PFX ": PCI config read: At %#x (%u) -> %#x %Rrc\n", uAddress, cb, *pu32Value, VBOXSTRICTRC_VAL(rcStrict)));2705 return rcStrict;2706 }2707 2708 2709 /**2710 * @callback_method_impl{FNPCICONFIGWRITE}2711 */2712 static DECLCALLBACK(VBOXSTRICTRC) iommuAmdR3PciConfigWrite(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, uint32_t uAddress,2713 unsigned cb, uint32_t u32Value)2714 {2715 /** @todo IOMMU: PCI config write. */2716 VBOXSTRICTRC rcStrict = PDMDevHlpPCIConfigWrite(pDevIns, pPciDev, uAddress, cb, u32Value);2717 Log3((IOMMU_LOG_PFX ": PCI config write: %#x -> To %#x (%u) %Rrc\n", u32Value, uAddress, cb, VBOXSTRICTRC_VAL(rcStrict)));2718 return rcStrict;2719 2719 } 2720 2720
Note:
See TracChangeset
for help on using the changeset viewer.