Changeset 81036 in vbox
- Timestamp:
- Sep 26, 2019 8:56:01 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 133639
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r81035 r81036 151 151 int iIrqPinBridge = ((pPciDev->uDevFn >> 3) + iIrq) & 3; 152 152 uint64_t bmSeen[256/64] = { 0, 0, 0, 0 }; 153 ASMBitSet(bmSeen, pPciDevBus->Int.s.idxPdmBus); AssertCompile(sizeof(pPciDevBus->Int.s.idxPdmBus) == 1); 153 AssertCompile(sizeof(pPciDevBus->Int.s.idxPdmBus) == 1); 154 ASMBitSet(bmSeen, pPciDevBus->Int.s.idxPdmBus); 154 155 155 156 /* Walk the chain until we reach the host bus. */ … … 175 176 176 177 /* Make sure that we cannot end up in a loop here: */ 177 AssertMsgReturn(ASMBitTestAndSet(bmSeen, RT_MIN(pPciDevBus->Int.s.idxPdmBus, 255)), 178 AssertCompile(sizeof(pPciDevBus->Int.s.idxPdmBus) == 1); 179 AssertMsgReturn(ASMBitTestAndSet(bmSeen, pPciDevBus->Int.s.idxPdmBus, 255), 178 180 ("idxPdmBus=%u\n", pPciDevBus->Int.s.idxPdmBus), 179 181 NULL);
Note:
See TracChangeset
for help on using the changeset viewer.