VirtualBox

Changeset 39091 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Oct 24, 2011 1:58:22 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74523
Message:

More parameter warning fixes; made PciIch9 check the saved state version.

Location:
trunk/src/VBox/Runtime/r3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/alloc-ef.cpp

    r39083 r39091  
    5454/** Tree tracking the allocations. */
    5555static AVLPVTREE            g_BlocksTree;
    56 #ifdef RTALLOC_EFENCE_FREE_DELAYED
     56# ifdef RTALLOC_EFENCE_FREE_DELAYED
    5757/** Tail of the delayed blocks. */
    5858static volatile PRTMEMBLOCK g_pBlocksDelayHead;
     
    6161/** Number of bytes in the delay list (includes fences). */
    6262static volatile size_t      g_cbBlocksDelay;
    63 #endif
    64 #endif
     63# endif /* RTALLOC_EFENCE_FREE_DELAYED */
     64#endif /* RTALLOC_EFENCE_TRACE */
    6565/** Array of pointers free watches for. */
    6666void   *gapvRTMemFreeWatch[4] = {NULL, NULL, NULL, NULL};
     
    217217}
    218218
    219 
    220 #ifdef RTALLOC_EFENCE_FREE_DELAYED
     219# ifdef RTALLOC_EFENCE_FREE_DELAYED
     220
    221221/**
    222222 * Insert a delayed block.
     
    267267}
    268268
    269 
    270 #endif  /* DELAY */
     269# endif  /* RTALLOC_EFENCE_FREE_DELAYED */
    271270
    272271#endif /* RTALLOC_EFENCE_TRACE */
  • trunk/src/VBox/Runtime/r3/linux/fileaio-linux.cpp

    r37596 r39091  
    544544{
    545545    /* Nothing to do. */
     546    NOREF(hAioCtx); NOREF(hFile);
    546547    return VINF_SUCCESS;
    547548}
  • trunk/src/VBox/Runtime/r3/linux/sched-linux.cpp

    r36912 r39091  
    406406static void *rtSchedNativeProberThread(void *pvUser)
    407407{
     408    NOREF(pvUser);
    408409    SAVEDPRIORITY SavedPriority;
    409410    rtSchedNativeSave(&SavedPriority);
  • trunk/src/VBox/Runtime/r3/posix/semrw-posix.cpp

    r30111 r39091  
    664664     * Ask the lock validator.
    665665     */
     666    NOREF(fWannaHear);
    666667    return RTLockValidatorRecSharedIsOwner(&pThis->ValidatorRead, NIL_RTTHREAD);
    667668#else
  • trunk/src/VBox/Runtime/r3/posix/timer-posix.cpp

    r33540 r39091  
    174174{
    175175    //AssertBreakpoint();
     176    NOREF(iSignal);
    176177}
    177178
     
    180181 * RT_TIMER_SIGNAL wait thread.
    181182 */
    182 static DECLCALLBACK(int) rttimerThread(RTTHREAD Thread, void *pvArg)
     183static DECLCALLBACK(int) rttimerThread(RTTHREAD hThreadSelf, void *pvArg)
    183184{
     185    NOREF(hThreadSelf); NOREF(pvArg);
    184186#ifndef IPRT_WITH_POSIX_TIMERS
    185     PRTTIMER pTimer = (PRTTIMER)(void *)pvArg;
     187    PRTTIMER pTimer = (PRTTIMER)pvArg;
    186188    RTTIMER Timer = *pTimer;
    187189    Assert(pTimer->u32Magic == RTTIMER_MAGIC);
     
    231233     * The work loop.
    232234     */
    233     RTThreadUserSignal(Thread);
     235    RTThreadUserSignal(hThreadSelf);
    234236
    235237#ifndef IPRT_WITH_POSIX_TIMERS
     
    816818    AssertPtrReturn(pTimer, VERR_INVALID_POINTER);
    817819    AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_MAGIC);
     820    NOREF(u64NanoInterval);
    818821    return VERR_NOT_SUPPORTED;
    819822}
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