VirtualBox

Changeset 15837 in vbox


Ignore:
Timestamp:
Jan 7, 2009 3:50:58 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41425
Message:

Added RTMpIsCpuWorkPending stub.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/mp.h

    r12104 r15837  
    307307RTDECL(int) RTMpNotificationDeregister(PFNRTMPNOTIFICATION pfnCallback, void *pvUser);
    308308
     309
     310/**
     311 * Check if there's work (DPCs on Windows) pending on the current CPU
     312 *
     313 * @return true if there's pending work on the current CPU, false otherwise
     314 *
     315 */
     316RTDECL(bool) RTMpIsCpuWorkPending();
     317
    309318#endif /* IN_RING0 */
    310319
  • trunk/src/VBox/Runtime/r0drv/darwin/mp-r0drv-darwin.cpp

    r14338 r15837  
    110110    /** @todo darwin R0 MP */
    111111    return RTMpIsCpuPossible(idCpu);
     112}
     113
     114RTDECL(bool) RTMpIsCpuWorkPending()
     115{
     116    /** @todo (not used on non-Windows platforms yet */
     117    return false;
    112118}
    113119
  • trunk/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-darwin.cpp

    r8245 r15837  
    4444{
    4545    return curcpu; /** @todo is this right? */
     46}
     47
     48RTDECL(bool) RTMpIsCpuWorkPending()
     49{
     50    /** @todo (not used on non-Windows platforms yet */
     51    return false;
    4652}
    4753
  • trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c

    r12922 r15837  
    133133}
    134134
     135RTDECL(bool) RTMpIsCpuWorkPending()
     136{
     137    /** @todo (not used on non-Windows platforms yet */
     138    return false;
     139}
    135140
    136141RTDECL(PRTCPUSET) RTMpGetOnlineSet(PRTCPUSET pSet)
  • trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp

    r13272 r15837  
    112112     *        (KeQueryMaximumProcessorCount). */
    113113    return RTMpIsCpuOnline(idCpu);
     114}
     115
     116RTDECL(bool) RTMpIsCpuWorkPending()
     117{
     118    /** @todo (not used on non-Windows platforms yet */
     119    return false;
    114120}
    115121
  • trunk/src/VBox/Runtime/r0drv/solaris/mp-r0drv-solaris.c

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