Changeset 82675 in vbox
- Timestamp:
- Jan 8, 2020 4:49:01 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r82454 r82675 4272 4272 { 4273 4273 DISPLAYCHANGEREQUEST *pRequest = &pThis->displayChangeData.aRequests[i]; 4274 memset (&pRequest->lastReadDisplayChangeRequest, 0, sizeof (pRequest->lastReadDisplayChangeRequest)); 4274 memset(&pRequest->lastReadDisplayChangeRequest, 0, sizeof(pRequest->lastReadDisplayChangeRequest)); 4275 pRequest->lastReadDisplayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED; 4275 4276 } 4276 4277 pThis->displayChangeData.iCurrentMonitor = 0; … … 4457 4458 vmmdevAllocFacilityStatusEntry(pThis, VBoxGuestFacilityType_Graphics, true /*fFixed*/, &TimeStampNow); 4458 4459 Assert(pThis->cFacilityStatuses == 5); 4460 4461 /* disable all screens (no better hints known yet). */ 4462 /** @todo r=klaus need a way to represent "no hint known" */ 4463 for (unsigned i = 0; i < RT_ELEMENTS(pThis->displayChangeData.aRequests); i++) 4464 { 4465 DISPLAYCHANGEREQUEST *pRequest = &pThis->displayChangeData.aRequests[i]; 4466 pRequest->displayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED; 4467 pRequest->lastReadDisplayChangeRequest.fDisplayFlags = VMMDEV_DISPLAY_DISABLED; 4468 } 4459 4469 4460 4470 /* … … 4919 4929 }; 4920 4930 4921 #endif /* !VBOX_DEV1679 4922 ICE_STRUCT_TESTCASE */ 4931 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */
Note:
See TracChangeset
for help on using the changeset viewer.

