Changeset 53789 in vbox
- Timestamp:
- Jan 13, 2015 4:43:25 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/vmm/tm.h (modified) (1 diff)
-
src/VBox/Devices/Graphics/DevVGA-SVGA.cpp (modified) (1 diff)
-
src/VBox/VMM/VMMAll/TMAllVirtual.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/tm.h
r53615 r53789 118 118 VMM_INT_DECL(uint64_t) TMVirtualSyncGetEx(PVM pVM, bool fCheckTimers); 119 119 VMM_INT_DECL(uint64_t) TMVirtualSyncGetWithDeadlineNoCheck(PVM pVM, uint64_t *pcNsToDeadline); 120 VMM _INT_DECL(uint64_t)TMVirtualSyncGetNsToDeadline(PVM pVM);120 VMMDECL(uint64_t) TMVirtualSyncGetNsToDeadline(PVM pVM); 121 121 VMM_INT_DECL(uint64_t) TMVirtualToNano(PVM pVM, uint64_t u64VirtualTicks); 122 122 VMM_INT_DECL(uint64_t) TMVirtualToMicro(PVM pVM, uint64_t u64VirtualTicks); -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r53787 r53789 793 793 RTSemEventMultiReset(pSVGAState->hBusyDelayedEmts); 794 794 if (pThis->svga.fBusy) 795 RTSemEventMultiWait(pSVGAState->hBusyDelayedEmts, 50); 795 { 796 /** @todo If this code is going to stay, we need to call into the halt/wait 797 * code in VMEmt.cpp here, otherwise all kind of EMT interaction will 798 * suffer when the guest is polling on a busy FIFO. */ 799 uint64_t cNsMaxWait = TMVirtualSyncGetNsToDeadline(PDMDevHlpGetVM(pThis->pDevInsR3)); 800 if (cNsMaxWait >= RT_NS_100US) 801 RTSemEventMultiWaitEx(pSVGAState->hBusyDelayedEmts, 802 RTSEMWAIT_FLAGS_NANOSECS | RTSEMWAIT_FLAGS_RELATIVE, 803 RT_MIN(cNsMaxWait, RT_NS_10MS)); 804 } 796 805 797 806 ASMAtomicDecU32(&pSVGAState->cBusyDelayedEmts); -
trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
r46420 r53789 926 926 * @remarks May set the timer and virtual sync FFs. 927 927 */ 928 VMM _INT_DECL(uint64_t) TMVirtualSyncGetNsToDeadline(PVM pVM)928 VMMDECL(uint64_t) TMVirtualSyncGetNsToDeadline(PVM pVM) 929 929 { 930 930 uint64_t cNsToDeadline;
Note:
See TracChangeset
for help on using the changeset viewer.

