- Timestamp:
- Nov 21, 2019 10:57:54 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/err.h (modified) (2 diffs)
-
include/VBox/vmm/pdmpcidev.h (modified) (1 diff)
-
src/VBox/Devices/Bus/DevPciIch9.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.h
r81727 r82073 2367 2367 2368 2368 2369 /** @name PCI Passtrhough Status Codes2369 /** @name PCI Bus & Passthrough Status Codes 2370 2370 * @{ 2371 2371 */ … … 2379 2379 * PCI passthrough currently works only if nested paging is active. */ 2380 2380 #define VERR_PCI_PASSTHROUGH_NO_NESTED_PAGING (-5102) 2381 2382 /** Special return code from a PCI I/O region mapping handler that tells the BUS 2383 * that it has done the mapping already. */ 2384 #define VINF_PCI_MAPPING_DONE 5150 2381 2385 /** @} */ 2382 2386 -
trunk/include/VBox/vmm/pdmpcidev.h
r81375 r82073 100 100 * 101 101 * @returns VBox status code. 102 * @retval VINF_PCI_MAPPING_DONE if the caller already did the mapping and the 103 * PCI bus should not use the handle it got to do the registration 104 * again. (Only allowed when @a GCPhysAddress is not NIL_RTGCPHYS.) 105 * 102 106 * @param pDevIns Pointer to the device instance the PCI device 103 107 * belongs to. -
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r81765 r82073 2738 2738 { 2739 2739 /* The callout is optional with new style devices: */ 2740 if (pRegion->pfnMap) 2740 if (!pRegion->pfnMap) 2741 rc = VINF_SUCCESS; 2742 else 2741 2743 { 2742 2744 rc = pRegion->pfnMap(pPciDev->Int.s.pDevInsR3, pPciDev, iRegion, … … 2746 2748 2747 2749 /* We do the mapping for new-style devices: */ 2748 if (pRegion->hHandle != UINT64_MAX )2750 if (pRegion->hHandle != UINT64_MAX && rc != VINF_PCI_MAPPING_DONE) 2749 2751 { 2750 2752 switch (pRegion->fFlags & PDMPCIDEV_IORGN_F_HANDLE_MASK)
Note:
See TracChangeset
for help on using the changeset viewer.

