VirtualBox

Changeset 21337 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
Jul 7, 2009 2:58:27 PM (15 years ago)
Author:
vboxsync
Message:

IPRT,HostDrv,AddDrv: Export public IPRT symbols for the linux kernel (pain).

Location:
trunk/src/VBox/Runtime/generic
Files:
57 edited

Legend:

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

    r13319 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/assert.h>
     36#include "internal/iprt.h"
    3537
    3638
     
    3941    return true;
    4042}
     43RT_EXPORT_SYMBOL(RTAssertShouldPanic);
    4144
    42 
    43 #if defined(IN_RING0) && defined(RT_OS_LINUX) && defined(IN_MODULE)
    44 /*
    45  * When we build this in the Linux kernel module, we wish to make the
    46  * symbols available to other modules as well.
    47  */
    48 #  include "the-linux-kernel.h"
    49 EXPORT_SYMBOL(RTAssertShouldPanic);
    50 #endif /* IN_RING0 && RT_OS_LINUX && IN_MODULE */
  • trunk/src/VBox/Runtime/generic/RTDirCreateTemp-generic.cpp

    r20111 r21337  
    3434*******************************************************************************/
    3535#include <iprt/dir.h>
     36#include "internal/iprt.h"
    3637
    3738#include <iprt/assert.h>
     
    117118    return VERR_ALREADY_EXISTS;
    118119}
     120RT_EXPORT_SYMBOL(RTDirCreateTemp);
    119121
  • trunk/src/VBox/Runtime/generic/RTDirQueryInfo-generic.cpp

    r8245 r21337  
    3030
    3131
    32 
    3332/*******************************************************************************
    3433*   Header Files                                                               *
     
    4241
    4342#include <iprt/dir.h>
     43#include "internal/iprt.h"
     44
    4445#include <iprt/path.h>
    4546#include <iprt/assert.h>
  • trunk/src/VBox/Runtime/generic/RTDirSetTimes-generic.cpp

    r8245 r21337  
    3030
    3131
    32 
    3332/*******************************************************************************
    3433*   Header Files                                                               *
     
    4241
    4342#include <iprt/dir.h>
     43#include "internal/iprt.h"
     44
    4445#include <iprt/path.h>
    4546#include <iprt/assert.h>
  • trunk/src/VBox/Runtime/generic/RTFileCopy-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/file.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    5051    return RTFileCopyEx(pszSrc, pszDst, 0, NULL, NULL);
    5152}
     53RT_EXPORT_SYMBOL(RTFileCopy);
    5254
  • trunk/src/VBox/Runtime/generic/RTFileMove-generic.cpp

    r8245 r21337  
    2929 */
    3030
     31
     32/*******************************************************************************
     33*   Header Files                                                               *
     34*******************************************************************************/
    3135#define LOG_GROUP RTLOGGROUP_FILE
    3236#include <iprt/file.h>
     37#include "internal/iprt.h"
     38
    3339#include <iprt/path.h>
    3440#include <iprt/err.h>
     
    109115    return rc;
    110116}
     117RT_EXPORT_SYMBOL(RTFileMove);
    111118
  • trunk/src/VBox/Runtime/generic/RTFileReadAll-generic.cpp

    r18805 r21337  
    3030
    3131
    32 
    3332/*******************************************************************************
    3433*   Header Files                                                               *
    3534*******************************************************************************/
    3635#include <iprt/file.h>
     36#include "internal/iprt.h"
    3737
    3838
     
    4141    return RTFileReadAllEx(pszFilename, 0, RTFOFF_MAX, 0, ppvFile, pcbFile);
    4242}
     43RT_EXPORT_SYMBOL(RTFileReadAll);
    4344
  • trunk/src/VBox/Runtime/generic/RTFileReadAllByHandle-generic.cpp

    r8925 r21337  
    3030
    3131
    32 
    3332/*******************************************************************************
    3433*   Header Files                                                               *
    3534*******************************************************************************/
    3635#include <iprt/file.h>
     36#include "internal/iprt.h"
    3737
    3838
     
    4141    return RTFileReadAllByHandleEx(File, 0, RTFOFF_MAX, 0, ppvFile, pcbFile);
    4242}
     43RT_EXPORT_SYMBOL(RTFileReadAllByHandle);
    4344
    44 
  • trunk/src/VBox/Runtime/generic/RTFileReadAllByHandleEx-generic.cpp

    r19350 r21337  
    3030
    3131
    32 
    3332/*******************************************************************************
    3433*   Header Files                                                               *
    3534*******************************************************************************/
    3635#include <iprt/file.h>
     36#include "internal/iprt.h"
     37
    3738#include <iprt/mem.h>
    3839#include <iprt/assert.h>
     
    106107    return rc;
    107108}
     109RT_EXPORT_SYMBOL(RTFileReadAllByHandleEx);
    108110
  • trunk/src/VBox/Runtime/generic/RTFileReadAllEx-generic.cpp

    r19350 r21337  
    3030
    3131
    32 
    3332/*******************************************************************************
    3433*   Header Files                                                               *
    3534*******************************************************************************/
    3635#include <iprt/file.h>
     36#include "internal/iprt.h"
     37
    3738#include <iprt/assert.h>
    3839#include <iprt/err.h>
     
    5253    return rc;
    5354}
     55RT_EXPORT_SYMBOL(RTFileReadAllEx);
    5456
  • trunk/src/VBox/Runtime/generic/RTFileReadAllFree-generic.cpp

    r8925 r21337  
    3030
    3131
    32 
    3332/*******************************************************************************
    3433*   Header Files                                                               *
    3534*******************************************************************************/
    3635#include <iprt/file.h>
     36#include "internal/iprt.h"
     37
    3738#include <iprt/mem.h>
    3839#include <iprt/assert.h>
     
    5354    RTMemFree(pvFile);
    5455}
     56RT_EXPORT_SYMBOL(RTFileReadAllFree);
    5557
    56 
  • trunk/src/VBox/Runtime/generic/RTLogDefaultInit-generic.cpp

    r8245 r21337  
    2929 */
    3030
     31
     32/*******************************************************************************
     33*   Header Files                                                               *
     34*******************************************************************************/
    3135#include <iprt/log.h>
     36
    3237
    3338RTDECL(PRTLOGGER) RTLogDefaultInit(void)
     
    3540    return NULL;
    3641}
     42RT_EXPORT_SYMBOL(RTLogDefaultInit);
    3743
    38 
  • trunk/src/VBox/Runtime/generic/RTLogWriteDebugger-generic.cpp

    r8245 r21337  
    2929 */
    3030
     31
     32/*******************************************************************************
     33*   Header Files                                                               *
     34*******************************************************************************/
    3135#include <iprt/log.h>
     36#include "internal/iprt.h"
     37
    3238
    3339RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb)
     
    3743    return;
    3844}
     45RT_EXPORT_SYMBOL(RTLogWriteDebugger);
    3946
    4047
  • trunk/src/VBox/Runtime/generic/RTLogWriteStdErr-generic.cpp

    r8245 r21337  
    2929 */
    3030
     31
     32/*******************************************************************************
     33*   Header Files                                                               *
     34*******************************************************************************/
    3135#include <iprt/log.h>
     36#include "internal/iprt.h"
    3237#include <stdio.h>
    3338
     
    3641    fwrite(pch, 1, cb, stderr);
    3742}
     43RT_EXPORT_SYMBOL(RTLogWriteStdErr);
    3844
  • trunk/src/VBox/Runtime/generic/RTLogWriteStdErr-stub-generic.cpp

    r8245 r21337  
    2929 */
    3030
     31
     32/*******************************************************************************
     33*   Header Files                                                               *
     34*******************************************************************************/
    3135#include <iprt/log.h>
     36#include "internal/iprt.h"
    3237
    3338
     
    3843    return;
    3944}
     45RT_EXPORT_SYMBOL(RTLogWriteStdErr);
    4046
  • trunk/src/VBox/Runtime/generic/RTLogWriteStdOut-generic.cpp

    r8245 r21337  
    2929 */
    3030
     31
     32/*******************************************************************************
     33*   Header Files                                                               *
     34*******************************************************************************/
    3135#include <iprt/log.h>
     36#include "internal/iprt.h"
    3237#include <stdio.h>
     38
    3339
    3440RTDECL(void) RTLogWriteStdOut(const char *pch, size_t cb)
     
    3743    fflush(stdout);
    3844}
     45RT_EXPORT_SYMBOL(RTLogWriteStdOut);
    3946
  • trunk/src/VBox/Runtime/generic/RTLogWriteStdOut-stub-generic.cpp

    r8245 r21337  
    2929 */
    3030
     31
     32/*******************************************************************************
     33*   Header Files                                                               *
     34*******************************************************************************/
    3135#include <iprt/log.h>
     36#include "internal/iprt.h"
    3237
    3338
     
    3843    return;
    3944}
     45RT_EXPORT_SYMBOL(RTLogWriteStdOut);
    4046
  • trunk/src/VBox/Runtime/generic/RTLogWriteUser-generic.cpp

    r8245 r21337  
    2929 */
    3030
     31
     32/*******************************************************************************
     33*   Header Files                                                               *
     34*******************************************************************************/
    3135#include <iprt/log.h>
     36#include "internal/iprt.h"
    3237
    3338
     
    3843    return;
    3944}
     45RT_EXPORT_SYMBOL(RTLogWriteUser);
    4046
  • trunk/src/VBox/Runtime/generic/RTMpCpuId-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/asm.h>
    3739
     
    4446# error "Not ported to this architecture."
    4547    return NIL_RTAPICID;
    46 #endif 
     48#endif
    4749}
     50RT_EXPORT_SYMBOL(RTMpCpuId);
    4851
  • trunk/src/VBox/Runtime/generic/RTMpCpuIdFromSetIndex-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    4041    return iCpu >= 0 ? iCpu : NIL_RTCPUID;
    4142}
     43RT_EXPORT_SYMBOL(RTMpCpuIdFromSetIndex);
    4244
  • trunk/src/VBox/Runtime/generic/RTMpCpuIdToSetIndex-generic.cpp

    r13908 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    4041    return idCpu != NIL_RTCPUID ? (int) idCpu : -1;
    4142}
     43RT_EXPORT_SYMBOL(RTMpCpuIdToSetIndex);
    4244
  • trunk/src/VBox/Runtime/generic/RTMpGetCount-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/cpuset.h>
    3739
     
    4345    return RTCpuSetCount(&Set);
    4446}
     47RT_EXPORT_SYMBOL(RTMpGetCount);
    4548
  • trunk/src/VBox/Runtime/generic/RTMpGetCurFrequency-generic.cpp

    r10425 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/mp.h>
     36#include "internal/iprt.h"
    3537
    3638
     
    4143    return 0;
    4244}
     45RT_EXPORT_SYMBOL(RTMpGetCurFrequency);
    4346
  • trunk/src/VBox/Runtime/generic/RTMpGetMaxCpuId-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    4041    return RTMpCpuId();
    4142}
     43RT_EXPORT_SYMBOL(RTMpGetMaxCpuId);
    4244
  • trunk/src/VBox/Runtime/generic/RTMpGetMaxFrequency-generic.cpp

    r10425 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/mp.h>
     36#include "internal/iprt.h"
    3537
    3638
     
    4143    return 0;
    4244}
     45RT_EXPORT_SYMBOL(RTMpGetMaxFrequency);
    4346
  • trunk/src/VBox/Runtime/generic/RTMpGetOnlineCount-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/cpuset.h>
    3739
     
    4345    return RTCpuSetCount(&Set);
    4446}
     47RT_EXPORT_SYMBOL(RTMpGetOnlineCount);
    4548
  • trunk/src/VBox/Runtime/generic/RTMpGetOnlineSet-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/cpuset.h>
    3739
     
    5052    return pSet;
    5153}
     54RT_EXPORT_SYMBOL(RTMpGetOnlineSet);
    5255
  • trunk/src/VBox/Runtime/generic/RTMpGetSet-generic.cpp

    r9429 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/cpuset.h>
    3739
     
    5052    return pSet;
    5153}
     54RT_EXPORT_SYMBOL(RTMpGetSet);
    5255
  • trunk/src/VBox/Runtime/generic/RTMpIsCpuOnline-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    4041    return RTMpCpuId() == idCpu;
    4142}
     43RT_EXPORT_SYMBOL(RTMpIsCpuOnline);
    4244
  • trunk/src/VBox/Runtime/generic/RTMpIsCpuPossible-generic.cpp

    r9429 r21337  
    3434*******************************************************************************/
    3535#include <iprt/mp.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    4041    return RTMpCpuId() == idCpu;
    4142}
     43RT_EXPORT_SYMBOL(RTMpIsCpuPossible);
    4244
  • trunk/src/VBox/Runtime/generic/RTProcIsRunningByName-generic.cpp

    r17011 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/process.h>
     36#include "internal/iprt.h"
    3537
    3638
  • trunk/src/VBox/Runtime/generic/RTRandAdvCreateSystemFaster-generic.cpp

    r13908 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/rand.h>
     36#include "internal/iprt.h"
     37
    3538#include <iprt/err.h>
    3639
     
    4144    return VERR_NOT_SUPPORTED;
    4245}
     46RT_EXPORT_SYMBOL(RTRandAdvCreateSystemFaster);
    4347
    44 
  • trunk/src/VBox/Runtime/generic/RTRandAdvCreateSystemTruer-generic.cpp

    r13908 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/rand.h>
     36#include "internal/iprt.h"
     37
    3538#include <iprt/err.h>
    3639
     
    4144    return VERR_NOT_SUPPORTED;
    4245}
     46RT_EXPORT_SYMBOL(RTRandAdvCreateSystemTruer);
    4347
  • trunk/src/VBox/Runtime/generic/RTSystemQueryOSInfo-generic.cpp

    r11350 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/system.h>
     36#include "internal/iprt.h"
     37
    3538#include <iprt/assert.h>
    3639#include <iprt/string.h>
     
    5457    return VERR_NOT_SUPPORTED;
    5558}
     59RT_EXPORT_SYMBOL(RTSystemQueryOSInfo);
    5660
    57 
    58 
  • trunk/src/VBox/Runtime/generic/RTTimeLocalDeltaNano-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/time.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    4041    return 0;
    4142}
     43RT_EXPORT_SYMBOL(RTTimeLocalDeltaNano);
    4244
  • trunk/src/VBox/Runtime/generic/RTTimeLocalExplode-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/time.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    4647    return pTime;
    4748}
     49RT_EXPORT_SYMBOL(RTTimeLocalExplode);
    4850
  • trunk/src/VBox/Runtime/generic/RTTimeLocalNow-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/time.h>
     36#include "internal/iprt.h"
    3637
    3738
     
    4950    return RTTimeSpecAddNano(pTime, i64PostDelta);
    5051}
     52RT_EXPORT_SYMBOL(RTTimeLocalNow);
    5153
  • trunk/src/VBox/Runtime/generic/RTTimerCreate-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/timer.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/err.h>
    3739#include <iprt/assert.h>
     
    5153    return rc;
    5254}
     55RT_EXPORT_SYMBOL(RTTimerCreate);
    5356
  • trunk/src/VBox/Runtime/generic/RTTimerLRCreate-generic.cpp

    r10944 r21337  
    3434*******************************************************************************/
    3535#include <iprt/timer.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/err.h>
    3739#include <iprt/assert.h>
     
    5153    return rc;
    5254}
     55RT_EXPORT_SYMBOL(RTTimerLRCreate);
    5356
  • trunk/src/VBox/Runtime/generic/RTUuidCreate-generic.cpp

    r11413 r21337  
    3434*******************************************************************************/
    3535#include <iprt/uuid.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/assert.h>
    3739#include <iprt/err.h>
     
    5557    return VINF_SUCCESS;
    5658}
     59RT_EXPORT_SYMBOL(RTUuidCreate);
    5760
  • trunk/src/VBox/Runtime/generic/critsect-generic.cpp

    r20008 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/critsect.h>
     36#include "internal/iprt.h"
     37
    3538#include <iprt/semaphore.h>
    3639#include <iprt/thread.h>
     
    5558    return RTCritSectInitEx(pCritSect, 0);
    5659}
     60RT_EXPORT_SYMBOL(RTCritSectInit);
    5761
    5862
     
    8791    return rc;
    8892}
     93RT_EXPORT_SYMBOL(RTCritSectInitEx);
    8994
    9095
     
    198203    }
    199204}
     205RT_EXPORT_SYMBOL(RTCritSectEnterMultiple);
    200206
    201207
     
    261267    return VINF_SUCCESS;
    262268}
     269RT_EXPORT_SYMBOL(RTCritSectTryEnter);
    263270
    264271
     
    349356    return VINF_SUCCESS;
    350357}
     358RT_EXPORT_SYMBOL(RTCritSectEnter);
    351359
    352360
     
    394402    return VINF_SUCCESS;
    395403}
     404RT_EXPORT_SYMBOL(RTCritSectLeave);
    396405
    397406
     
    414423    return rc;
    415424}
     425RT_EXPORT_SYMBOL(RTCritSectLeaveMultiple);
    416426
    417427
     
    432442}
    433443#endif /* RT_STRICT */
     444RT_EXPORT_SYMBOL(RTCritSectEnterDebug);
     445RT_EXPORT_SYMBOL(RTCritSectTryEnterDebug);
     446RT_EXPORT_SYMBOL(RTCritSectEnterMultipleDebug);
    434447
    435448
     
    469482    return rc;
    470483}
    471 
     484RT_EXPORT_SYMBOL(RTCritSectDelete);
     485
  • trunk/src/VBox/Runtime/generic/env-generic.cpp

    r20374 r21337  
    3434*******************************************************************************/
    3535#include <iprt/env.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/assert.h>
    3739#include <iprt/alloc.h>
     
    5355RT_C_DECLS_END
    5456#endif
     57
    5558
    5659/*******************************************************************************
     
    152155    return rtEnvCreate(pEnv, RTENV_GROW_SIZE);
    153156}
     157RT_EXPORT_SYMBOL(RTEnvCreate);
    154158
    155159
     
    195199    return VINF_SUCCESS;
    196200}
     201RT_EXPORT_SYMBOL(RTEnvDestroy);
    197202
    198203
     
    274279    return rc;
    275280}
     281RT_EXPORT_SYMBOL(RTEnvClone);
    276282
    277283
     
    301307    return rc;
    302308}
     309RT_EXPORT_SYMBOL(RTEnvPutEx);
    303310
    304311
     
    406413    return rc;
    407414}
     415RT_EXPORT_SYMBOL(RTEnvSetEx);
    408416
    409417
     
    461469
    462470}
     471RT_EXPORT_SYMBOL(RTEnvUnsetEx);
    463472
    464473
     
    547556
    548557}
     558RT_EXPORT_SYMBOL(RTEnvGetEx);
    549559
    550560
     
    593603    return fExist;
    594604}
     605RT_EXPORT_SYMBOL(RTEnvExistEx);
    595606
    596607
     
    655666    return papszRet;
    656667}
     668RT_EXPORT_SYMBOL(RTEnvGetExecEnvP);
  • trunk/src/VBox/Runtime/generic/fs-stubs-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#define LOG_GROUP RTLOGGROUP_FS
     36#include <iprt/fs.h>
     37#include "internal/iprt.h"
    3638
    37 #include <iprt/fs.h>
    3839#include <iprt/err.h>
    3940#include <iprt/log.h>
  • trunk/src/VBox/Runtime/generic/mempool-generic.cpp

    r20575 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/mempool.h>
     36#include "internal/iprt.h"
    3537
    3638#include <iprt/asm.h>
     
    154156    return rc;
    155157}
     158RT_EXPORT_SYMBOL(RTMemPoolCreate);
    156159
    157160
     
    192195    return VINF_SUCCESS;
    193196}
     197RT_EXPORT_SYMBOL(RTMemPoolDestroy);
    194198
    195199
     
    258262    return pEntry + 1;
    259263}
     264RT_EXPORT_SYMBOL(RTMemPoolAlloc);
    260265
    261266
     
    272277    return pEntry + 1;
    273278}
     279RT_EXPORT_SYMBOL(RTMemPoolAllocZ);
    274280
    275281
     
    287293    return pEntry + 1;
    288294}
     295RT_EXPORT_SYMBOL(RTMemPoolDup);
    289296
    290297
     
    303310    return pEntry + 1;
    304311}
     312RT_EXPORT_SYMBOL(RTMemPoolDupEx);
    305313
    306314
     
    346354    return pEntry + 1;
    347355}
     356RT_EXPORT_SYMBOL(RTMemPoolRealloc);
    348357
    349358
     
    352361    RTMemPoolRelease(hMemPool, pv);
    353362}
     363RT_EXPORT_SYMBOL(RTMemPoolFree);
    354364
    355365
     
    364374    return cRefs;
    365375}
     376RT_EXPORT_SYMBOL(RTMemPoolRetain);
    366377
    367378
     
    389400    return cRefs;
    390401}
    391 
     402RT_EXPORT_SYMBOL(RTMemPoolRelease);
     403
  • trunk/src/VBox/Runtime/generic/mppresent-generic.cpp

    r12104 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/mp.h>
     36#include "internal/iprt.h"
    3537
    3638
     
    3941    return RTMpGetSet(pSet);
    4042}
     43RT_EXPORT_SYMBOL(RTMpGetPresentSet);
    4144
    4245
     
    4548    return RTMpGetCount();
    4649}
     50RT_EXPORT_SYMBOL(RTMpGetPresentCount);
    4751
    4852
     
    5155    return RTMpIsCpuPossible(idCpu);
    5256}
     57RT_EXPORT_SYMBOL(RTMpIsCpuPresent);
    5358
  • trunk/src/VBox/Runtime/generic/pathhost-generic.cpp

    r8245 r21337  
    3535#define LOG_GROUP RTLOGGROUP_PATH
    3636#include <iprt/string.h>
     37#include "internal/iprt.h"
     38
    3739#include "internal/path.h"
    3840
  • trunk/src/VBox/Runtime/generic/sched-generic.cpp

    r8245 r21337  
    3535#define LOG_GROUP RTLOGGROUP_THREAD
    3636#include <iprt/thread.h>
     37#include "internal/iprt.h"
     38
    3739#include <iprt/log.h>
    3840#include <iprt/assert.h>
  • trunk/src/VBox/Runtime/generic/semfastmutex-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#include <iprt/semaphore.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/alloc.h>
    3739#include <iprt/err.h>
     
    5052    return rc;
    5153}
     54RT_EXPORT_SYMBOL(RTSemFastMutexCreate);
    5255
    5356
     
    6265    return rc;
    6366}
     67RT_EXPORT_SYMBOL(RTSemFastMutexDestroy);
    6468
    6569
     
    6872    return RTCritSectEnter((PRTCRITSECT)MutexSem);
    6973}
     74RT_EXPORT_SYMBOL(RTSemFastMutexRequest);
    7075
    7176
     
    7479    return RTCritSectLeave((PRTCRITSECT)MutexSem);
    7580}
     81RT_EXPORT_SYMBOL(RTSemFastMutexRelease);
    7682
  • trunk/src/VBox/Runtime/generic/semnoint-generic.cpp

    r8245 r21337  
    3535#define LOG_GROUP RTLOGGROUP_SEM
    3636#include <iprt/semaphore.h>
     37#include "internal/iprt.h"
     38
    3739#include <iprt/time.h>
    3840#include <iprt/err.h>
     
    6668    return rc;
    6769}
     70RT_EXPORT_SYMBOL(RTSemEventWait);
    6871
    6972
     
    9396    return rc;
    9497}
     98RT_EXPORT_SYMBOL(RTSemEventMultiWait);
    9599
    96100
     
    120124    return rc;
    121125}
     126RT_EXPORT_SYMBOL(RTSemMutexRequest);
    122127
  • trunk/src/VBox/Runtime/generic/semsrw-generic.cpp

    r20603 r21337  
    3333
    3434
    35 
    3635/*******************************************************************************
    3736*   Header Files                                                               *
    3837*******************************************************************************/
    3938#include <iprt/semaphore.h>
     39#include "internal/iprt.h"
     40
    4041#include <iprt/critsect.h>
    4142#include <iprt/alloc.h>
     
    150151    return rc;
    151152}
     153RT_EXPORT_SYMBOL(RTSemRWCreate);
    152154
    153155
     
    210212    return rc;
    211213}
     214RT_EXPORT_SYMBOL(RTSemRWDestroy);
    212215
    213216
     
    303306    return rc;
    304307}
     308RT_EXPORT_SYMBOL(RTSemRWRequestRead);
    305309
    306310
     
    309313    return RTSemRWRequestRead(RWSem, cMillies);
    310314}
     315RT_EXPORT_SYMBOL(RTSemRWRequestReadNoResume);
    311316
    312317
     
    357362    return rc;
    358363}
     364RT_EXPORT_SYMBOL(RTSemRWReleaseRead);
    359365
    360366
     
    466472    return rc;
    467473}
     474RT_EXPORT_SYMBOL(RTSemRWRequestWrite);
    468475
    469476
     
    472479    return RTSemRWRequestWrite(RWSem, cMillies);
    473480}
     481RT_EXPORT_SYMBOL(RTSemRWRequestWriteNoResume);
    474482
    475483
     
    533541    return rc;
    534542}
     543RT_EXPORT_SYMBOL(RTSemRWReleaseWrite);
    535544
    536545
     
    555564    return Writer == Self;
    556565}
     566RT_EXPORT_SYMBOL(RTSemRWIsWriteOwner);
    557567
    558568
     
    574584    return pThis->cWrites;
    575585}
     586RT_EXPORT_SYMBOL(RTSemRWGetWriteRecursion);
    576587
    577588
     
    593604    return pThis->cWriterReads;
    594605}
     606RT_EXPORT_SYMBOL(RTSemRWGetWriterReadRecursion);
  • trunk/src/VBox/Runtime/generic/spinlock-generic.cpp

    r8245 r21337  
    4343*******************************************************************************/
    4444#include <iprt/spinlock.h>
     45#include "internal/iprt.h"
     46
    4547#include <iprt/alloc.h>
    4648#include <iprt/asm.h>
     
    8890    return VINF_SUCCESS;
    8991}
     92RT_EXPORT_SYMBOL(RTSpinlockCreate);
    9093
    9194
     
    108111    return VINF_SUCCESS;
    109112}
     113RT_EXPORT_SYMBOL(RTSpinlockDestroy);
    110114
    111115
     
    132136#endif
    133137}
     138RT_EXPORT_SYMBOL(RTSpinlockAcquireNoInts);
    134139
    135140
     
    145150    ASMSetFlags(pTmp->uFlags);
    146151}
     152RT_EXPORT_SYMBOL(RTSpinlockReleaseNoInts);
    147153
    148154
     
    167173#endif
    168174}
     175RT_EXPORT_SYMBOL(RTSpinlockAcquire);
    169176
    170177
     
    179186        AssertMsgFailed(("Spinlock %p was not locked!\n", pSpinlockInt));
    180187}
     188RT_EXPORT_SYMBOL(RTSpinlockRelease);
    181189
  • trunk/src/VBox/Runtime/generic/strcache-stubs-generic.cpp

    r20647 r21337  
    3434*******************************************************************************/
    3535#include <iprt/strcache.h>
     36#include "internal/iprt.h"
    3637
    3738#include <iprt/asm.h>
     
    5051    return RTMemPoolCreate((PRTMEMPOOL)phStrCache, pszName);
    5152}
     53RT_EXPORT_SYMBOL(RTStrCacheCreate);
    5254
    5355
     
    5961    return RTMemPoolDestroy((RTMEMPOOL)hStrCache);
    6062}
     63RT_EXPORT_SYMBOL(RTStrCacheDestroy);
    6164
    6265
     
    6972    return (const char *)RTMemPoolDupEx((RTMEMPOOL)hStrCache, pchString, cchString, 1);
    7073}
     74RT_EXPORT_SYMBOL(RTStrCacheEnterN);
    7175
    7276
     
    7579    return RTStrCacheEnterN(hStrCache, psz, strlen(psz));
    7680}
     81RT_EXPORT_SYMBOL(RTStrCacheEnter);
    7782
    7883
     
    8287    return RTMemPoolRetain((void *)psz);
    8388}
     89RT_EXPORT_SYMBOL(RTStrCacheRetain);
    8490
    8591
     
    9096    return RTMemPoolRelease((RTMEMPOOL)hStrCache, (void *)psz);
    9197}
     98RT_EXPORT_SYMBOL(RTStrCacheRelease);
    9299
    93100
     
    98105    return strlen(psz);
    99106}
     107RT_EXPORT_SYMBOL(RTStrCacheLength);
    100108
  • trunk/src/VBox/Runtime/generic/timer-generic.cpp

    r14298 r21337  
    3434*******************************************************************************/
    3535#include <iprt/timer.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/thread.h>
    3739#include <iprt/err.h>
     
    134136    return rc;
    135137}
     138RT_EXPORT_SYMBOL(RTTimerCreateEx);
    136139
    137140
     
    181184    return VINF_SUCCESS;
    182185}
     186RT_EXPORT_SYMBOL(RTTimerDestroy);
    183187
    184188
     
    204208    return rc;
    205209}
     210RT_EXPORT_SYMBOL(RTTimerStart);
    206211
    207212
     
    223228    return rc;
    224229}
     230RT_EXPORT_SYMBOL(RTTimerStop);
    225231
    226232
     
    307313    return 10000000; /* 10ms */
    308314}
     315RT_EXPORT_SYMBOL(RTTimerGetSystemGranularity);
    309316
    310317
     
    313320    return VERR_NOT_SUPPORTED;
    314321}
     322RT_EXPORT_SYMBOL(RTTimerRequestSystemGranularity);
    315323
    316324
     
    319327    return VERR_NOT_SUPPORTED;
    320328}
    321 
     329RT_EXPORT_SYMBOL(RTTimerReleaseSystemGranularity);
     330
  • trunk/src/VBox/Runtime/generic/timerlr-generic.cpp

    r14298 r21337  
    3737*******************************************************************************/
    3838#include <iprt/timer.h>
     39#include "internal/iprt.h"
     40
    3941#include <iprt/thread.h>
    4042#include <iprt/err.h>
     
    140142    return rc;
    141143}
     144RT_EXPORT_SYMBOL(RTTimerLRCreateEx);
    142145
    143146
     
    176179    return VINF_SUCCESS;
    177180}
     181RT_EXPORT_SYMBOL(RTTimerLRDestroy);
    178182
    179183
     
    208212    return rc;
    209213}
     214RT_EXPORT_SYMBOL(RTTimerLRStart);
    210215
    211216
     
    233238    return rc;
    234239}
     240RT_EXPORT_SYMBOL(RTTimerLRStop);
    235241
    236242
  • trunk/src/VBox/Runtime/generic/tls-generic.cpp

    r8245 r21337  
    3434*******************************************************************************/
    3535#define LOG_GROUP RTLOGGROUP_THREAD
     36#include <iprt/thread.h>
     37#include "internal/iprt.h"
    3638
    37 #include <iprt/thread.h>
    3839#include <iprt/err.h>
    3940#include <iprt/asm.h>
  • trunk/src/VBox/Runtime/generic/utf16locale-generic.cpp

    r8245 r21337  
    3535#define LOG_GROUP RTLOGGROUP_UTF16
    3636#include <iprt/string.h>
     37#include "internal/iprt.h"
    3738
    3839
     
    4142    return RTUtf16ICmp(pusz1, pusz2);
    4243}
     44RT_EXPORT_SYMBOL(RTUtf16LocaleICmp);
    4345
  • trunk/src/VBox/Runtime/generic/uuid-generic.cpp

    r19198 r21337  
    3434*******************************************************************************/
    3535#include <iprt/uuid.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/assert.h>
    3739#include <iprt/err.h>
     
    7981    return VINF_SUCCESS;
    8082}
     83RT_EXPORT_SYMBOL(RTUuidClear);
    8184
    8285
     
    8790        && !pUuid->au64[1];
    8891}
     92RT_EXPORT_SYMBOL(RTUuidIsNull);
    8993
    9094
     
    130134    return 0;
    131135}
     136RT_EXPORT_SYMBOL(RTUuidCompare);
    132137
    133138
     
    149154    return RTUuidCompare(pUuid1, &Uuid2);
    150155}
     156RT_EXPORT_SYMBOL(RTUuidCompareStr);
    151157
    152158
     
    218224    return VINF_SUCCESS;
    219225}
     226RT_EXPORT_SYMBOL(RTUuidToStr);
    220227
    221228
     
    312319    return VINF_SUCCESS;
    313320}
     321RT_EXPORT_SYMBOL(RTUuidFromStr);
    314322
    315323
     
    382390    return VINF_SUCCESS;
    383391}
     392RT_EXPORT_SYMBOL(RTUuidToUtf16);
    384393
    385394
     
    477486    return VINF_SUCCESS;
    478487}
    479 
     488RT_EXPORT_SYMBOL(RTUuidFromUtf16);
     489
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