VirtualBox

Changeset 13816 in vbox for trunk/src/VBox/VMM/PDMQueue.cpp


Ignore:
Timestamp:
Nov 4, 2008 10:52:12 PM (16 years ago)
Author:
vboxsync
Message:

VMM: VBOX_SUCCESS -> RT_SUCCESS, VBOX_FAILURE -> RT_FAILURE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMQueue.cpp

    r12993 r13816  
    8686    else
    8787        rc = MMR3HeapAllocZEx(pVM, MM_TAG_PDM_QUEUE, cb, (void **)&pQueue);
    88     if (VBOX_FAILURE(rc))
     88    if (RT_FAILURE(rc))
    8989        return rc;
    9090
     
    121121    {
    122122        int rc = TMR3TimerCreateInternal(pVM, TMCLOCK_REAL, pdmR3QueueTimer, pQueue, "Queue timer", &pQueue->pTimer);
    123         if (VBOX_SUCCESS(rc))
     123        if (RT_SUCCESS(rc))
    124124        {
    125125            rc = TMTimerSetMillies(pQueue->pTimer, cMilliesInterval);
    126             if (VBOX_FAILURE(rc))
     126            if (RT_FAILURE(rc))
    127127            {
    128128                AssertMsgFailed(("TMTimerSetMillies failed rc=%Vrc\n", rc));
     
    132132        else
    133133            AssertMsgFailed(("TMR3TimerCreateInternal failed rc=%Vrc\n", rc));
    134         if (VBOX_FAILURE(rc))
     134        if (RT_FAILURE(rc))
    135135        {
    136136            if (fRZEnabled)
     
    211211    PPDMQUEUE pQueue;
    212212    int rc = pdmR3QueueCreate(pVM, cbItem, cItems, cMilliesInterval, fRZEnabled, &pQueue);
    213     if (VBOX_SUCCESS(rc))
     213    if (RT_SUCCESS(rc))
    214214    {
    215215        pQueue->enmType = PDMQUEUETYPE_DEV;
     
    260260    PPDMQUEUE pQueue;
    261261    int rc = pdmR3QueueCreate(pVM, cbItem, cItems, cMilliesInterval, false, &pQueue);
    262     if (VBOX_SUCCESS(rc))
     262    if (RT_SUCCESS(rc))
    263263    {
    264264        pQueue->enmType = PDMQUEUETYPE_DRV;
     
    309309    PPDMQUEUE pQueue;
    310310    int rc = pdmR3QueueCreate(pVM, cbItem, cItems, cMilliesInterval, fRZEnabled, &pQueue);
    311     if (VBOX_SUCCESS(rc))
     311    if (RT_SUCCESS(rc))
    312312    {
    313313        pQueue->enmType = PDMQUEUETYPE_INTERNAL;
     
    355355    PPDMQUEUE pQueue;
    356356    int rc = pdmR3QueueCreate(pVM, cbItem, cItems, cMilliesInterval, false, &pQueue);
    357     if (VBOX_SUCCESS(rc))
     357    if (RT_SUCCESS(rc))
    358358    {
    359359        pQueue->enmType = PDMQUEUETYPE_EXTERNAL;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette