Changeset 59113 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Dec 14, 2015 11:55:19 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r58170 r59113 2185 2185 * @param pThis The OHCI device data. 2186 2186 */ 2187 static voidohciFramerateCalcNew(POHCI pThis)2187 static bool ohciFramerateCalcNew(POHCI pThis) 2188 2188 { 2189 2189 uint32_t uNewFrameRate = pThis->uFrameRate; … … 2219 2219 LogFlow(("Frame rate changed from %u to %u\n", pThis->uFrameRate, uNewFrameRate)); 2220 2220 ohciCalcTimerIntervals(pThis, uNewFrameRate); 2221 } 2221 return true; 2222 } 2223 return false; 2222 2224 } 2223 2225 … … 2609 2611 ohciWriteEd(pThis, pUrb->Hci.EdAddr, &Ed); 2610 2612 2611 /* Calculate new frame rate and wakeup the . */ 2612 ohciFramerateCalcNew(pThis); 2613 RTSemEventMultiSignal(pThis->hSemEventFrame); 2613 /* Calculate new frame rate and wakeup the framer thread if the rate was chnaged. */ 2614 if (ohciFramerateCalcNew(pThis)) 2615 RTSemEventMultiSignal(pThis->hSemEventFrame); 2616 2614 2617 RTCritSectLeave(&pThis->CritSect); 2615 2618 }
Note:
See TracChangeset
for help on using the changeset viewer.