VirtualBox

Ignore:
Timestamp:
Sep 16, 2010 4:18:12 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65965
Message:

VMM,SUPDrv,IPRT: More changes for related to the priodic preemption timer. (still disabled)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/freebsd/timer-r0drv-freebsd.c

    r32504 r32572  
    9090
    9191
    92 RTDECL(int) RTTimerCreateEx(PRTTIMER *ppTimer, uint64_t u64NanoInterval, unsigned fFlags, PFNRTTIMER pfnTimer, void *pvUser)
     92RTDECL(int) RTTimerCreateEx(PRTTIMER *ppTimer, uint64_t u64NanoInterval, uint32_t fFlags, PFNRTTIMER pfnTimer, void *pvUser)
    9393{
    9494    *ppTimer = NULL;
     
    102102        &&  (fFlags & RTTIMER_FLAGS_CPU_ALL) != RTTIMER_FLAGS_CPU_ALL
    103103        &&  (fFlags & RTTIMER_FLAGS_CPU_MASK) > mp_maxid)
    104         return VERR_INVALID_PARAMETER;
     104        return VERR_CPU_NOT_FOUND;
    105105
    106106    /*
     
    166166    if (!pTimer->fSuspended)
    167167        return VERR_TIMER_ACTIVE;
     168    if (   pTimer->fSpecificCpu
     169        && !RTMpIsCpuOnline(pTimer->idCpu))
     170        return VERR_CPU_OFFLINE;
    168171
    169172    /*
     
    199202
    200203    return VINF_SUCCESS;
     204}
     205
     206
     207RTDECL(int) RTTimerChangeInterval(PRTTIMER pTimer, uint64_t u64NanoInterval)
     208{
     209    if (!rtTimerIsValid(pTimer))
     210        return VERR_INVALID_HANDLE;
     211    return VERR_NOT_SUPPORTED;
    201212}
    202213
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