VirtualBox

Ignore:
Timestamp:
Jan 7, 2009 6:35:24 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41435
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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}
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