Changeset 77207 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 7, 2019 10:56:58 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128710
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r77206 r77207 2385 2385 AssertPtr(pThis); 2386 2386 2387 /* 2387 /* 2388 2388 * Wake up the FIFO thread as it might have work to do now. 2389 2389 */ 2390 2390 int rc = SUPSemEventSignal(pThis->svga.pSupDrvSession, pThis->svga.FIFORequestSem); 2391 2391 AssertLogRelRC(rc); 2392 2392 2393 2393 # ifdef DEBUG_FIFO_ACCESS 2394 /* 2395 * When in debug-fifo-access mode, we do not disable the access handler, 2394 /* 2395 * When in debug-fifo-access mode, we do not disable the access handler, 2396 2396 * but leave it on as we wish to catch all access. 2397 2397 */ … … 2399 2399 rc = vmsvgaDebugFIFOAccess(pVM, pThis, GCPhys, enmAccessType == PGMACCESSTYPE_WRITE); 2400 2400 # else 2401 /* 2401 /* 2402 2402 * Temporarily disable the access handler now that we've kicked the FIFO thread. 2403 */ 2403 */ 2404 2404 # ifdef VBOX_STRICT /** @todo r=bird: This is _not_ guaranteed at all. Expect spurious assertions! */ 2405 2405 /* Invariant: The access handler should never trigger twice within a certain 2406 time span; calling it 500ms here for simplicity. */ 2406 time span; calling it 500ms here for simplicity. */ 2407 2407 uint64_t TimeNow = RTTimeMilliTS(); 2408 2408 Assert(TimeNow - pThis->svga.pSvgaR3State->TimeLastFIFOIntercept > 500); … … 3236 3236 * Sends cursor position and visibility information from the FIFO to the front-end. 3237 3237 * @returns SVGA_FIFO_CURSOR_COUNT value used. 3238 */ 3238 */ 3239 3239 static uint32_t 3240 3240 vmsvgaFIFOUpdateCursor(PVGASTATE pVGAState, PVMSVGAR3STATE pSVGAState, uint32_t RT_UNTRUSTED_VOLATILE_GUEST *pFIFO, … … 3380 3380 RTMSINTERVAL cMsSleep = cMsMaxSleep; 3381 3381 3382 /* 3382 /* 3383 3383 * Cursor update state (SVGA_FIFO_CAP_CURSOR_BYPASS_3). 3384 3384 * Initialize with values that will trigger an update as soon as maybe. … … 4990 4990 4991 4991 4992 /** 4992 /** 4993 4993 * Unsigned coordinates in pBox. Clip to [0; pSizeSrc), [0; pSizeDest). 4994 4994 * … … 5038 5038 } 5039 5039 5040 /** 5040 /** 5041 5041 * Unsigned coordinates in pBox. Clip to [0; pSize). 5042 5042 * … … 5066 5066 } 5067 5067 5068 /** 5068 /** 5069 5069 * Clip. 5070 5070 *
Note:
See TracChangeset
for help on using the changeset viewer.