VirtualBox

Changeset 54408 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Feb 24, 2015 2:06:56 AM (10 years ago)
Author:
vboxsync
Message:

IPRT/r0drv: Added RTMpOnPair and RTMpOnPairIsConcurrentExecSupported, currently generic wrappers around RTMpOnAll but this will change where possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/generic/RTMpOn-r0drv-generic.cpp

    r44529 r54408  
    55
    66/*
    7  * Copyright (C) 2008-2010 Oracle Corporation
     7 * Copyright (C) 2008-2015 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    4545
    4646
     47RTDECL(bool) RTMpOnAllIsConcurrentSafe(void)
     48{
     49    return false;
     50}
     51RT_EXPORT_SYMBOL(RTMpOnAllIsConcurrentSafe);
     52
     53
    4754RTDECL(int) RTMpOnOthers(PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2)
    4855{
     
    6572RT_EXPORT_SYMBOL(RTMpOnSpecific);
    6673
     74
     75RTDECL(int) RTMpOnPair(RTCPUID idCpu1, RTCPUID idCpu2, PFNRTMPWORKER pfnWorker, void *pvUser1, void *pvUser2)
     76{
     77    NOREF(idCpu1);
     78    NOREF(idCpu2);
     79    NOREF(pfnWorker);
     80    NOREF(pvUser1);
     81    NOREF(pvUser2);
     82    return VERR_NOT_SUP_IN_RAW_MODE;
     83}
     84RT_EXPORT_SYMBOL(RTMpOnPair);
     85
     86
     87
     88RTDECL(bool) RTMpOnPairIsConcurrentExecSupported(void)
     89{
     90    return false;
     91}
     92RT_EXPORT_SYMBOL(RTMpOnPairIsConcurrentExecSupported);
     93
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