- Timestamp:
- Oct 22, 2019 9:09:55 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134186
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/IOMR3IoPort.cpp
r81383 r81461 284 284 285 285 pVM->iom.s.cIoPortRegs = idx + 1; 286 #ifdef VBOX_WITH_STATISTICS 287 pVM->iom.s.cIoPortStats = cNewIoPortStats; 288 #endif 286 289 *phIoPorts = idx; 287 290 return VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMR3/IOMR3Mmio.cpp
r81383 r81461 146 146 */ 147 147 #ifndef VBOX_WITH_STATISTICS 148 uint16_t const idxStats 148 uint16_t const idxStats = UINT16_MAX; 149 149 #else 150 uint32_t const idxStats 150 uint32_t const idxStats = pVM->iom.s.cMmioStats; 151 151 uint32_t const cNewMmioStats = idxStats + 1; 152 152 AssertReturn(cNewMmioStats <= _64K, VERR_IOM_TOO_MANY_MMIO_REGISTRATIONS); … … 188 188 189 189 pVM->iom.s.cMmioRegs = idx + 1; 190 #ifdef VBOX_WITH_STATISTICS 191 pVM->iom.s.cMmioStats = cNewMmioStats; 192 #endif 190 193 *phRegion = idx; 191 194 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.