VirtualBox

Changeset 49134 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 16, 2013 12:24:39 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89987
Message:

VMM: Minor nit, coding style.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r49026 r49134  
    34233423    } while (0)
    34243424#else   /* Release builds */
    3425 # define HMSVM_VALIDATE_EXIT_HANDLER_PARAMS() do { } while(0)
     3425# define HMSVM_VALIDATE_EXIT_HANDLER_PARAMS() do { } while (0)
    34263426#endif
    34273427
  • trunk/src/VBox/VMM/VMMR3/PDMBlkCache.cpp

    r46493 r49134  
    4242     AssertMsg(RTCritSectIsOwner(&Cache->CritSect), \
    4343               ("Thread does not own critical section\n"));\
    44     } while(0)
     44    } while (0)
    4545
    4646# define PDMACFILECACHE_EP_IS_SEMRW_WRITE_OWNER(pEpCache) \
     
    4949        AssertMsg(RTSemRWIsWriteOwner(pEpCache->SemRWEntries), \
    5050                  ("Thread is not exclusive owner of the per endpoint RW semaphore\n")); \
    51     } while(0)
     51    } while (0)
    5252
    5353# define PDMACFILECACHE_EP_IS_SEMRW_READ_OWNER(pEpCache) \
     
    5656        AssertMsg(RTSemRWIsReadOwner(pEpCache->SemRWEntries), \
    5757                  ("Thread is not read owner of the per endpoint RW semaphore\n")); \
    58     } while(0)
     58    } while (0)
    5959
    6060#else
    61 # define PDMACFILECACHE_IS_CRITSECT_OWNER(Cache) do { } while(0)
    62 # define PDMACFILECACHE_EP_IS_SEMRW_WRITE_OWNER(pEpCache) do { } while(0)
    63 # define PDMACFILECACHE_EP_IS_SEMRW_READ_OWNER(pEpCache) do { } while(0)
     61# define PDMACFILECACHE_IS_CRITSECT_OWNER(Cache) do { } while (0)
     62# define PDMACFILECACHE_EP_IS_SEMRW_WRITE_OWNER(pEpCache) do { } while (0)
     63# define PDMACFILECACHE_EP_IS_SEMRW_READ_OWNER(pEpCache) do { } while (0)
    6464#endif
    6565
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r47826 r49134  
    6767    uint32_t const fDbgEFlags1 = CPUMRawGetEFlags(pVCpu); \
    6868    if (!(fDbgEFlags1 & X86_EFL_IF)) Log(("%s: IF=0 ##\n", __FUNCTION__)); \
    69     else do {} while(0)
     69    else do {} while (0)
    7070# define TRPM_EXIT_DBG_HOOK(a_iVector) \
    7171    do { \
Note: See TracChangeset for help on using the changeset viewer.

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