Changeset 64701 in vbox
- Timestamp:
- Nov 17, 2016 6:39:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r64700 r64701 1707 1707 } 1708 1708 1709 uint8_t uMaxSubNum = 0;1709 uint8_t uMaxSubNum = pBus->iBus; 1710 1710 for (uint32_t iBridge = 0; iBridge < pBus->cBridges; iBridge++) 1711 1711 { … … 1715 1715 PDEVPCIBUS pChildBus = PDMINS_2_DATA(pBridge->Int.s.CTX_SUFF(pDevIns), PDEVPCIBUS); 1716 1716 uint8_t uMaxChildSubBus = ich9pciBiosInitBridgeTopology(pPciRoot, pChildBus, uBusSecondary, pChildBus->iBus); 1717 uMaxSubNum = RT_MAX(uMaxSubNum, RT_MAX(uMaxChildSubBus, pChildBus->iBus));1717 uMaxSubNum = RT_MAX(uMaxSubNum, uMaxChildSubBus); 1718 1718 } 1719 1719 PCIDevSetByte(pBridgeDev, VBOX_PCI_SUBORDINATE_BUS, uMaxSubNum);
Note:
See TracChangeset
for help on using the changeset viewer.