Changeset 82277 in vbox
- Timestamp:
- Nov 28, 2019 8:24:13 PM (5 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/IOMR0IoPort.cpp
r81383 r82277 206 206 paRing0[i].idxSelf = (uint16_t)i; 207 207 paRing0[i].idxStats = UINT16_MAX; 208 } 209 i = cbRing3 / sizeof(*paRing3); 210 while (i-- > cOldEntries) 211 { 208 212 paRing3[i].idxSelf = (uint16_t)i; 209 213 paRing3[i].idxStats = UINT16_MAX; -
trunk/src/VBox/VMM/VMMR0/IOMR0Mmio.cpp
r81383 r82277 203 203 paRing0[i].idxSelf = (uint16_t)i; 204 204 paRing0[i].idxStats = UINT16_MAX; 205 } 206 i = cbRing3 / sizeof(*paRing3); 207 while (i-- > cOldEntries) 208 { 205 209 paRing3[i].idxSelf = (uint16_t)i; 206 210 paRing3[i].idxStats = UINT16_MAX; -
trunk/src/VBox/VMM/VMMR3/IOMR3IoPort.cpp
r81797 r82277 295 295 #endif 296 296 *phIoPorts = idx; 297 LogFlow(("IOMR3IoPortCreate: idx=%#x cPorts=%u %s\n", idx, cPorts, pszDesc)); 297 298 return VINF_SUCCESS; 298 299 } … … 316 317 AssertReturn((uint32_t)uPort + cPorts <= _64K, VERR_OUT_OF_RANGE); 317 318 RTIOPORT const uLastPort = uPort + cPorts - 1; 319 LogFlow(("IOMR3IoPortMap: hIoPorts=%#RX64 %RTiop..%RTiop (%u ports)\n", hIoPorts, uPort, uLastPort, cPorts)); 318 320 319 321 /* … … 411 413 AssertMsg(paEntries[i].idx < pVM->iom.s.cIoPortRegs, ("%u: %#x %#x\n", i, paEntries[i].idx, pVM->iom.s.cIoPortRegs)); 412 414 AssertMsg(uPortPrev < paEntries[i].uFirstPort, ("%u: %#x %#x\n", i, uPortPrev, paEntries[i].uFirstPort)); 415 AssertMsg(paEntries[i].uLastPort - paEntries[i].uFirstPort + 1 == pVM->iom.s.paIoPortRegs[paEntries[i].idx].cPorts, 416 ("%u: %#x %#x..%#x -> %u, expected %u\n", i, uPortPrev, paEntries[i].uFirstPort, paEntries[i].uLastPort, 417 paEntries[i].uLastPort - paEntries[i].uFirstPort + 1, pVM->iom.s.paIoPortRegs[paEntries[i].idx].cPorts)); 413 418 uPortPrev = paEntries[i].uLastPort; 414 419 } … … 452 457 Assert(pVM->iom.s.cIoPortLookupEntries == cEntries); 453 458 Assert(cEntries > 0); 459 LogFlow(("IOMR3IoPortUnmap: hIoPorts=%#RX64 %RTiop..%RTiop (%u ports)\n", hIoPorts, uPort, uLastPort, pRegEntry->cPorts)); 454 460 455 461 PIOMIOPORTLOOKUPENTRY paEntries = pVM->iom.s.paIoPortLookup; … … 521 527 AssertMsg(paEntries[i].idx < pVM->iom.s.cIoPortRegs, ("%u: %#x %#x\n", i, paEntries[i].idx, pVM->iom.s.cIoPortRegs)); 522 528 AssertMsg(uPortPrev < paEntries[i].uFirstPort, ("%u: %#x %#x\n", i, uPortPrev, paEntries[i].uFirstPort)); 529 AssertMsg(paEntries[i].uLastPort - paEntries[i].uFirstPort + 1 == pVM->iom.s.paIoPortRegs[paEntries[i].idx].cPorts, 530 ("%u: %#x %#x..%#x -> %u, expected %u\n", i, uPortPrev, paEntries[i].uFirstPort, paEntries[i].uLastPort, 531 paEntries[i].uLastPort - paEntries[i].uFirstPort + 1, pVM->iom.s.paIoPortRegs[paEntries[i].idx].cPorts)); 523 532 uPortPrev = paEntries[i].uLastPort; 524 533 }
Note:
See TracChangeset
for help on using the changeset viewer.