Changeset 84332 in vbox for trunk/src/VBox
- Timestamp:
- May 18, 2020 2:45:14 PM (5 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/PDMR0DevHlp.cpp
r84007 r84332 128 128 /** @interface_method_impl{PDMDEVHLPR0,pfnPCIPhysRead} */ 129 129 static DECLCALLBACK(int) pdmR0DevHlp_PCIPhysRead(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, RTGCPHYS GCPhys, 130 void *pvBuf, size_t cbRead )130 void *pvBuf, size_t cbRead, uint32_t fFlags) 131 131 { 132 132 PDMDEV_ASSERT_DEVINS(pDevIns); … … 171 171 #endif 172 172 173 return pDevIns->pHlpR0->pfnPhysRead(pDevIns, GCPhys, pvBuf, cbRead );173 return pDevIns->pHlpR0->pfnPhysRead(pDevIns, GCPhys, pvBuf, cbRead, fFlags); 174 174 } 175 175 … … 177 177 /** @interface_method_impl{PDMDEVHLPR0,pfnPCIPhysWrite} */ 178 178 static DECLCALLBACK(int) pdmR0DevHlp_PCIPhysWrite(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, RTGCPHYS GCPhys, 179 const void *pvBuf, size_t cbWrite )179 const void *pvBuf, size_t cbWrite, uint32_t fFlags) 180 180 { 181 181 PDMDEV_ASSERT_DEVINS(pDevIns); … … 219 219 #endif 220 220 221 return pDevIns->pHlpR0->pfnPhysWrite(pDevIns, GCPhys, pvBuf, cbWrite );221 return pDevIns->pHlpR0->pfnPhysWrite(pDevIns, GCPhys, pvBuf, cbWrite, fFlags); 222 222 } 223 223 … … 334 334 335 335 /** @interface_method_impl{PDMDEVHLPR0,pfnPhysRead} */ 336 static DECLCALLBACK(int) pdmR0DevHlp_PhysRead(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead) 337 { 336 static DECLCALLBACK(int) pdmR0DevHlp_PhysRead(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead, uint32_t fFlags) 337 { 338 RT_NOREF(fFlags); 339 338 340 PDMDEV_ASSERT_DEVINS(pDevIns); 339 341 LogFlow(("pdmR0DevHlp_PhysRead: caller=%p/%d: GCPhys=%RGp pvBuf=%p cbRead=%#x\n", … … 349 351 350 352 /** @interface_method_impl{PDMDEVHLPR0,pfnPhysWrite} */ 351 static DECLCALLBACK(int) pdmR0DevHlp_PhysWrite(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite) 352 { 353 static DECLCALLBACK(int) pdmR0DevHlp_PhysWrite(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite, uint32_t fFlags) 354 { 355 RT_NOREF(fFlags); 356 353 357 PDMDEV_ASSERT_DEVINS(pDevIns); 354 358 LogFlow(("pdmR0DevHlp_PhysWrite: caller=%p/%d: GCPhys=%RGp pvBuf=%p cbWrite=%#x\n", -
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r83987 r84332 759 759 760 760 /** @interface_method_impl{PDMDEVHLPR3,pfnPhysRead} */ 761 static DECLCALLBACK(int) pdmR3DevHlp_PhysRead(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead) 762 { 761 static DECLCALLBACK(int) pdmR3DevHlp_PhysRead(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead, uint32_t fFlags) 762 { 763 RT_NOREF(fFlags); 764 763 765 PDMDEV_ASSERT_DEVINS(pDevIns); 764 766 PVM pVM = pDevIns->Internal.s.pVMR3; … … 788 790 789 791 /** @interface_method_impl{PDMDEVHLPR3,pfnPhysWrite} */ 790 static DECLCALLBACK(int) pdmR3DevHlp_PhysWrite(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite) 791 { 792 static DECLCALLBACK(int) pdmR3DevHlp_PhysWrite(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite, uint32_t fFlags) 793 { 794 RT_NOREF(fFlags); 795 792 796 PDMDEV_ASSERT_DEVINS(pDevIns); 793 797 PVM pVM = pDevIns->Internal.s.pVMR3; … … 1764 1768 /** @interface_method_impl{PDMDEVHLPR3,pfnPCIPhysRead} */ 1765 1769 static DECLCALLBACK(int) 1766 pdmR3DevHlp_PCIPhysRead(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead )1770 pdmR3DevHlp_PCIPhysRead(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead, uint32_t fFlags) 1767 1771 { 1768 1772 PDMDEV_ASSERT_DEVINS(pDevIns); … … 1807 1811 #endif 1808 1812 1809 return pDevIns->pHlpR3->pfnPhysRead(pDevIns, GCPhys, pvBuf, cbRead );1813 return pDevIns->pHlpR3->pfnPhysRead(pDevIns, GCPhys, pvBuf, cbRead, fFlags); 1810 1814 } 1811 1815 … … 1813 1817 /** @interface_method_impl{PDMDEVHLPR3,pfnPCIPhysWrite} */ 1814 1818 static DECLCALLBACK(int) 1815 pdmR3DevHlp_PCIPhysWrite(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite )1819 pdmR3DevHlp_PCIPhysWrite(PPDMDEVINS pDevIns, PPDMPCIDEV pPciDev, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite, uint32_t fFlags) 1816 1820 { 1817 1821 PDMDEV_ASSERT_DEVINS(pDevIns); … … 1855 1859 #endif 1856 1860 1857 return pDevIns->pHlpR3->pfnPhysWrite(pDevIns, GCPhys, pvBuf, cbWrite );1861 return pDevIns->pHlpR3->pfnPhysWrite(pDevIns, GCPhys, pvBuf, cbWrite, fFlags); 1858 1862 } 1859 1863
Note:
See TracChangeset
for help on using the changeset viewer.