Changeset 53513 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Dec 11, 2014 4:21:20 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97253
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHost.cpp
r50550 r53513 495 495 VM_ASSERT_EMT(pIns->pVM); 496 496 497 AssertPtrReturn(pIns->pHGFlags, VERR_WRONG_ORDER); 497 498 int rc = hgsmiFIFOLock(pIns); 498 499 AssertRC(rc); … … 546 547 void HGSMISetHostGuestFlags(HGSMIINSTANCE *pIns, uint32_t flags) 547 548 { 549 AssertPtrReturnVoid(pIns->pHGFlags); 548 550 ASMAtomicOrU32(&pIns->pHGFlags->u32HostFlags, flags); 549 551 } … … 551 553 void HGSMIClearHostGuestFlags(HGSMIINSTANCE *pIns, uint32_t flags) 552 554 { 555 AssertPtrReturnVoid(pIns->pHGFlags); 553 556 ASMAtomicAndU32(&pIns->pHGFlags->u32HostFlags, (~flags)); 554 557 } … … 852 855 HGSMIHOSTFIFOENTRY *pEntry; 853 856 857 AssertPtrReturn(pIns->pHGFlags, VERR_WRONG_ORDER); 854 858 int rc = hgsmiHostFIFOAlloc (pIns, &pEntry); 855 859 … … 1891 1895 HGSMIGUESTCOMPLENTRY *pEntry = NULL; 1892 1896 1897 AssertPtrReturn(pIns->pHGFlags, VERR_WRONG_ORDER); 1893 1898 int rc = hgsmiGuestCompletionFIFOAlloc (pIns, &pEntry); 1894 1899 AssertRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.