VirtualBox

Changeset 15843 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 7, 2009 6:35:24 PM (16 years ago)
Author:
vboxsync
Message:

RTMpIsCpuWorkPending() -> RTMpIsCpuWorkPending(void), corrected source location and added the missing generic stub function.

Location:
trunk/src/VBox/Runtime
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r15798 r15843  
    11411141        os2/RTErrConvertFromOS2.cpp \
    11421142        os2/sys0.asm \
     1143        r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
    11431144        r0drv/generic/RTMpOn-r0drv-generic.cpp \
    11441145        r0drv/generic/RTThreadPreemptIsEnabled-r0drv-generic.cpp \
     
    11921193        generic/RTTimerCreate-generic.cpp \
    11931194        generic/mppresent-generic.cpp \
     1195        r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
    11941196        r0drv/generic/RTMpOn-r0drv-generic.cpp \
    11951197        r0drv/generic/RTThreadPreemptIsEnabled-r0drv-generic.cpp \
     
    12681270        generic/RTMpGetSet-generic.cpp \
    12691271        generic/RTMpIsCpuOnline-generic.cpp \
     1272        r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
    12701273        r0drv/generic/RTMpOn-r0drv-generic.cpp
    12711274 else
     
    13131316        generic/RTLogWriteStdOut-stub-generic.cpp \
    13141317        generic/mppresent-generic.cpp \
     1318        r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
    13151319        r0drv/generic/RTMpOn-r0drv-generic.cpp \
    13161320        r0drv/generic/mpnotification-r0drv-generic.cpp \
  • trunk/src/VBox/Runtime/r0drv/darwin/mp-r0drv-darwin.cpp

    r15837 r15843  
    112112}
    113113
    114 RTDECL(bool) RTMpIsCpuWorkPending()
    115 {
    116     /** @todo (not used on non-Windows platforms yet */
    117     return false;
    118 }
    119 
    120114
    121115RTDECL(PRTCPUSET) RTMpGetPresentSet(PRTCPUSET pSet)
     
    148142    /** @todo darwin R0 MP (rainy day) */
    149143    return 0;
     144}
     145
     146
     147RTDECL(bool) RTMpIsCpuWorkPending(void)
     148{
     149    /** @todo (not used on non-Windows platforms yet). */
     150    return false;
    150151}
    151152
  • trunk/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-darwin.cpp

    r15837 r15843  
    4646}
    4747
    48 RTDECL(bool) RTMpIsCpuWorkPending()
    49 {
    50     /** @todo (not used on non-Windows platforms yet */
    51     return false;
    52 }
    5348
    54 
    55 /**
    56  * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER
     49/**
     50 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER
    5751 * for the RTMpOnAll API.
    58  * 
     52 *
    5953 * @param   pvArg   Pointer to the RTMPARGS package.
    6054 */
     
    7973
    8074
    81 /** 
    82  * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER 
     75/**
     76 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER
    8377 * for the RTMpOnOthers API.
    84  * 
     78 *
    8579 * @param   pvArg   Pointer to the RTMPARGS package.
    8680 */
     
    108102
    109103
    110 /** 
    111  * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER 
     104/**
     105 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER
    112106 * for the RTMpOnSpecific API.
    113  * 
     107 *
    114108 * @param   pvArg   Pointer to the RTMPARGS package.
    115109 */
     
    136130    Args.cHits = 0;
    137131    smp_rendezvous(NULL, rtmpOnSpecificFreeBSDWrapper, NULL, &Args);
    138     return Args.cHits == 1 
    139          ? VINF_SUCCESS 
     132    return Args.cHits == 1
     133         ? VINF_SUCCESS
    140134         : VERR_CPU_NOT_FOUND;
    141135}
  • trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c

    r15837 r15843  
    133133}
    134134
    135 RTDECL(bool) RTMpIsCpuWorkPending()
    136 {
    137     /** @todo (not used on non-Windows platforms yet */
    138     return false;
    139 }
    140135
    141136RTDECL(PRTCPUSET) RTMpGetOnlineSet(PRTCPUSET pSet)
     
    172167    return 1;
    173168#endif
     169}
     170
     171
     172RTDECL(bool) RTMpIsCpuWorkPending(void)
     173{
     174    /** @todo (not used on non-Windows platforms yet). */
     175    return false;
    174176}
    175177
  • trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp

    r15839 r15843  
    114114}
    115115
    116 RTDECL(bool) RTMpIsCpuWorkPending()
     116
     117/** @todo move down after RTMpGetOnlineCount. */
     118RTDECL(bool) RTMpIsCpuWorkPending(void)
    117119{
    118120    RTCPUID idCpuEntry = RTMpCpuId();
  • trunk/src/VBox/Runtime/r0drv/solaris/mp-r0drv-solaris.c

    r15837 r15843  
    124124}
    125125
    126 RTDECL(bool) RTMpIsCpuWorkPending()
    127 {
    128     /** @todo (not used on non-Windows platforms yet */
     126
     127RTDECL(bool) RTMpIsCpuWorkPending(void)
     128{
     129    /** @todo (not used on non-Windows platforms yet). */
    129130    return false;
    130131}
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