Changeset 64908 in vbox
- Timestamp:
- Dec 16, 2016 1:32:07 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r64863 r64908 1910 1910 * 1911 1911 * @param pDev The PCI device to update the mappings for. 1912 */ 1913 static void devpciR3UpdateMappings(PPDMPCIDEV pPciDev) 1912 * @param fP2PBridge Whether this is a PCI to PCI bridge or not. 1913 */ 1914 static void devpciR3UpdateMappings(PPDMPCIDEV pPciDev, bool fP2PBridge) 1914 1915 { 1915 1916 uint16_t const u16Cmd = ich9pciGetWord(pPciDev, VBOX_PCI_COMMAND); 1916 1917 for (unsigned iRegion = 0; iRegion < VBOX_PCI_NUM_REGIONS; iRegion++) 1917 1918 { 1919 /* Skip over BAR2..BAR5 for bridges, as they have a different meaning there. */ 1920 if (fP2PBridge && iRegion >= 2 && iRegion <= 5) 1921 continue; 1918 1922 PCIIORegion *pRegion = &pPciDev->Int.s.aIORegions[iRegion]; 1919 1923 uint64_t const cbRegion = pRegion->size; … … 2231 2235 */ 2232 2236 if (fUpdateMappings) 2233 devpciR3UpdateMappings(pPciDev );2237 devpciR3UpdateMappings(pPciDev, fP2PBridge); 2234 2238 } 2235 2239 }
Note:
See TracChangeset
for help on using the changeset viewer.

