Changeset 13816 in vbox for trunk/src/VBox/VMM/PDMQueue.cpp
- Timestamp:
- Nov 4, 2008 10:52:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMQueue.cpp
r12993 r13816 86 86 else 87 87 rc = MMR3HeapAllocZEx(pVM, MM_TAG_PDM_QUEUE, cb, (void **)&pQueue); 88 if ( VBOX_FAILURE(rc))88 if (RT_FAILURE(rc)) 89 89 return rc; 90 90 … … 121 121 { 122 122 int rc = TMR3TimerCreateInternal(pVM, TMCLOCK_REAL, pdmR3QueueTimer, pQueue, "Queue timer", &pQueue->pTimer); 123 if ( VBOX_SUCCESS(rc))123 if (RT_SUCCESS(rc)) 124 124 { 125 125 rc = TMTimerSetMillies(pQueue->pTimer, cMilliesInterval); 126 if ( VBOX_FAILURE(rc))126 if (RT_FAILURE(rc)) 127 127 { 128 128 AssertMsgFailed(("TMTimerSetMillies failed rc=%Vrc\n", rc)); … … 132 132 else 133 133 AssertMsgFailed(("TMR3TimerCreateInternal failed rc=%Vrc\n", rc)); 134 if ( VBOX_FAILURE(rc))134 if (RT_FAILURE(rc)) 135 135 { 136 136 if (fRZEnabled) … … 211 211 PPDMQUEUE pQueue; 212 212 int rc = pdmR3QueueCreate(pVM, cbItem, cItems, cMilliesInterval, fRZEnabled, &pQueue); 213 if ( VBOX_SUCCESS(rc))213 if (RT_SUCCESS(rc)) 214 214 { 215 215 pQueue->enmType = PDMQUEUETYPE_DEV; … … 260 260 PPDMQUEUE pQueue; 261 261 int rc = pdmR3QueueCreate(pVM, cbItem, cItems, cMilliesInterval, false, &pQueue); 262 if ( VBOX_SUCCESS(rc))262 if (RT_SUCCESS(rc)) 263 263 { 264 264 pQueue->enmType = PDMQUEUETYPE_DRV; … … 309 309 PPDMQUEUE pQueue; 310 310 int rc = pdmR3QueueCreate(pVM, cbItem, cItems, cMilliesInterval, fRZEnabled, &pQueue); 311 if ( VBOX_SUCCESS(rc))311 if (RT_SUCCESS(rc)) 312 312 { 313 313 pQueue->enmType = PDMQUEUETYPE_INTERNAL; … … 355 355 PPDMQUEUE pQueue; 356 356 int rc = pdmR3QueueCreate(pVM, cbItem, cItems, cMilliesInterval, false, &pQueue); 357 if ( VBOX_SUCCESS(rc))357 if (RT_SUCCESS(rc)) 358 358 { 359 359 pQueue->enmType = PDMQUEUETYPE_EXTERNAL;
Note:
See TracChangeset
for help on using the changeset viewer.