Changeset 21337 in vbox for trunk/src/VBox/Runtime/generic
- Timestamp:
- Jul 7, 2009 2:58:27 PM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/generic
- Files:
-
- 57 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/RTAssertShouldPanic-generic.cpp
r13319 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/assert.h> 36 #include "internal/iprt.h" 35 37 36 38 … … 39 41 return true; 40 42 } 43 RT_EXPORT_SYMBOL(RTAssertShouldPanic); 41 44 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 the46 * 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 34 34 *******************************************************************************/ 35 35 #include <iprt/dir.h> 36 #include "internal/iprt.h" 36 37 37 38 #include <iprt/assert.h> … … 117 118 return VERR_ALREADY_EXISTS; 118 119 } 120 RT_EXPORT_SYMBOL(RTDirCreateTemp); 119 121 -
trunk/src/VBox/Runtime/generic/RTDirQueryInfo-generic.cpp
r8245 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * … … 42 41 43 42 #include <iprt/dir.h> 43 #include "internal/iprt.h" 44 44 45 #include <iprt/path.h> 45 46 #include <iprt/assert.h> -
trunk/src/VBox/Runtime/generic/RTDirSetTimes-generic.cpp
r8245 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * … … 42 41 43 42 #include <iprt/dir.h> 43 #include "internal/iprt.h" 44 44 45 #include <iprt/path.h> 45 46 #include <iprt/assert.h> -
trunk/src/VBox/Runtime/generic/RTFileCopy-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/file.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 50 51 return RTFileCopyEx(pszSrc, pszDst, 0, NULL, NULL); 51 52 } 53 RT_EXPORT_SYMBOL(RTFileCopy); 52 54 -
trunk/src/VBox/Runtime/generic/RTFileMove-generic.cpp
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #define LOG_GROUP RTLOGGROUP_FILE 32 36 #include <iprt/file.h> 37 #include "internal/iprt.h" 38 33 39 #include <iprt/path.h> 34 40 #include <iprt/err.h> … … 109 115 return rc; 110 116 } 117 RT_EXPORT_SYMBOL(RTFileMove); 111 118 -
trunk/src/VBox/Runtime/generic/RTFileReadAll-generic.cpp
r18805 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * 35 34 *******************************************************************************/ 36 35 #include <iprt/file.h> 36 #include "internal/iprt.h" 37 37 38 38 … … 41 41 return RTFileReadAllEx(pszFilename, 0, RTFOFF_MAX, 0, ppvFile, pcbFile); 42 42 } 43 RT_EXPORT_SYMBOL(RTFileReadAll); 43 44 -
trunk/src/VBox/Runtime/generic/RTFileReadAllByHandle-generic.cpp
r8925 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * 35 34 *******************************************************************************/ 36 35 #include <iprt/file.h> 36 #include "internal/iprt.h" 37 37 38 38 … … 41 41 return RTFileReadAllByHandleEx(File, 0, RTFOFF_MAX, 0, ppvFile, pcbFile); 42 42 } 43 RT_EXPORT_SYMBOL(RTFileReadAllByHandle); 43 44 44 -
trunk/src/VBox/Runtime/generic/RTFileReadAllByHandleEx-generic.cpp
r19350 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * 35 34 *******************************************************************************/ 36 35 #include <iprt/file.h> 36 #include "internal/iprt.h" 37 37 38 #include <iprt/mem.h> 38 39 #include <iprt/assert.h> … … 106 107 return rc; 107 108 } 109 RT_EXPORT_SYMBOL(RTFileReadAllByHandleEx); 108 110 -
trunk/src/VBox/Runtime/generic/RTFileReadAllEx-generic.cpp
r19350 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * 35 34 *******************************************************************************/ 36 35 #include <iprt/file.h> 36 #include "internal/iprt.h" 37 37 38 #include <iprt/assert.h> 38 39 #include <iprt/err.h> … … 52 53 return rc; 53 54 } 55 RT_EXPORT_SYMBOL(RTFileReadAllEx); 54 56 -
trunk/src/VBox/Runtime/generic/RTFileReadAllFree-generic.cpp
r8925 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * 35 34 *******************************************************************************/ 36 35 #include <iprt/file.h> 36 #include "internal/iprt.h" 37 37 38 #include <iprt/mem.h> 38 39 #include <iprt/assert.h> … … 53 54 RTMemFree(pvFile); 54 55 } 56 RT_EXPORT_SYMBOL(RTFileReadAllFree); 55 57 56 -
trunk/src/VBox/Runtime/generic/RTLogDefaultInit-generic.cpp
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #include <iprt/log.h> 36 32 37 33 38 RTDECL(PRTLOGGER) RTLogDefaultInit(void) … … 35 40 return NULL; 36 41 } 42 RT_EXPORT_SYMBOL(RTLogDefaultInit); 37 43 38 -
trunk/src/VBox/Runtime/generic/RTLogWriteDebugger-generic.cpp
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 37 32 38 33 39 RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb) … … 37 43 return; 38 44 } 45 RT_EXPORT_SYMBOL(RTLogWriteDebugger); 39 46 40 47 -
trunk/src/VBox/Runtime/generic/RTLogWriteStdErr-generic.cpp
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 32 37 #include <stdio.h> 33 38 … … 36 41 fwrite(pch, 1, cb, stderr); 37 42 } 43 RT_EXPORT_SYMBOL(RTLogWriteStdErr); 38 44 -
trunk/src/VBox/Runtime/generic/RTLogWriteStdErr-stub-generic.cpp
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 32 37 33 38 … … 38 43 return; 39 44 } 45 RT_EXPORT_SYMBOL(RTLogWriteStdErr); 40 46 -
trunk/src/VBox/Runtime/generic/RTLogWriteStdOut-generic.cpp
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 32 37 #include <stdio.h> 38 33 39 34 40 RTDECL(void) RTLogWriteStdOut(const char *pch, size_t cb) … … 37 43 fflush(stdout); 38 44 } 45 RT_EXPORT_SYMBOL(RTLogWriteStdOut); 39 46 -
trunk/src/VBox/Runtime/generic/RTLogWriteStdOut-stub-generic.cpp
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 32 37 33 38 … … 38 43 return; 39 44 } 45 RT_EXPORT_SYMBOL(RTLogWriteStdOut); 40 46 -
trunk/src/VBox/Runtime/generic/RTLogWriteUser-generic.cpp
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 32 37 33 38 … … 38 43 return; 39 44 } 45 RT_EXPORT_SYMBOL(RTLogWriteUser); 40 46 -
trunk/src/VBox/Runtime/generic/RTMpCpuId-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/asm.h> 37 39 … … 44 46 # error "Not ported to this architecture." 45 47 return NIL_RTAPICID; 46 #endif 48 #endif 47 49 } 50 RT_EXPORT_SYMBOL(RTMpCpuId); 48 51 -
trunk/src/VBox/Runtime/generic/RTMpCpuIdFromSetIndex-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 40 41 return iCpu >= 0 ? iCpu : NIL_RTCPUID; 41 42 } 43 RT_EXPORT_SYMBOL(RTMpCpuIdFromSetIndex); 42 44 -
trunk/src/VBox/Runtime/generic/RTMpCpuIdToSetIndex-generic.cpp
r13908 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 40 41 return idCpu != NIL_RTCPUID ? (int) idCpu : -1; 41 42 } 43 RT_EXPORT_SYMBOL(RTMpCpuIdToSetIndex); 42 44 -
trunk/src/VBox/Runtime/generic/RTMpGetCount-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/cpuset.h> 37 39 … … 43 45 return RTCpuSetCount(&Set); 44 46 } 47 RT_EXPORT_SYMBOL(RTMpGetCount); 45 48 -
trunk/src/VBox/Runtime/generic/RTMpGetCurFrequency-generic.cpp
r10425 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 35 37 36 38 … … 41 43 return 0; 42 44 } 45 RT_EXPORT_SYMBOL(RTMpGetCurFrequency); 43 46 -
trunk/src/VBox/Runtime/generic/RTMpGetMaxCpuId-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 40 41 return RTMpCpuId(); 41 42 } 43 RT_EXPORT_SYMBOL(RTMpGetMaxCpuId); 42 44 -
trunk/src/VBox/Runtime/generic/RTMpGetMaxFrequency-generic.cpp
r10425 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 35 37 36 38 … … 41 43 return 0; 42 44 } 45 RT_EXPORT_SYMBOL(RTMpGetMaxFrequency); 43 46 -
trunk/src/VBox/Runtime/generic/RTMpGetOnlineCount-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/cpuset.h> 37 39 … … 43 45 return RTCpuSetCount(&Set); 44 46 } 47 RT_EXPORT_SYMBOL(RTMpGetOnlineCount); 45 48 -
trunk/src/VBox/Runtime/generic/RTMpGetOnlineSet-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/cpuset.h> 37 39 … … 50 52 return pSet; 51 53 } 54 RT_EXPORT_SYMBOL(RTMpGetOnlineSet); 52 55 -
trunk/src/VBox/Runtime/generic/RTMpGetSet-generic.cpp
r9429 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/cpuset.h> 37 39 … … 50 52 return pSet; 51 53 } 54 RT_EXPORT_SYMBOL(RTMpGetSet); 52 55 -
trunk/src/VBox/Runtime/generic/RTMpIsCpuOnline-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 40 41 return RTMpCpuId() == idCpu; 41 42 } 43 RT_EXPORT_SYMBOL(RTMpIsCpuOnline); 42 44 -
trunk/src/VBox/Runtime/generic/RTMpIsCpuPossible-generic.cpp
r9429 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 40 41 return RTMpCpuId() == idCpu; 41 42 } 43 RT_EXPORT_SYMBOL(RTMpIsCpuPossible); 42 44 -
trunk/src/VBox/Runtime/generic/RTProcIsRunningByName-generic.cpp
r17011 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/process.h> 36 #include "internal/iprt.h" 35 37 36 38 -
trunk/src/VBox/Runtime/generic/RTRandAdvCreateSystemFaster-generic.cpp
r13908 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/rand.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/err.h> 36 39 … … 41 44 return VERR_NOT_SUPPORTED; 42 45 } 46 RT_EXPORT_SYMBOL(RTRandAdvCreateSystemFaster); 43 47 44 -
trunk/src/VBox/Runtime/generic/RTRandAdvCreateSystemTruer-generic.cpp
r13908 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/rand.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/err.h> 36 39 … … 41 44 return VERR_NOT_SUPPORTED; 42 45 } 46 RT_EXPORT_SYMBOL(RTRandAdvCreateSystemTruer); 43 47 -
trunk/src/VBox/Runtime/generic/RTSystemQueryOSInfo-generic.cpp
r11350 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/system.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/assert.h> 36 39 #include <iprt/string.h> … … 54 57 return VERR_NOT_SUPPORTED; 55 58 } 59 RT_EXPORT_SYMBOL(RTSystemQueryOSInfo); 56 60 57 58 -
trunk/src/VBox/Runtime/generic/RTTimeLocalDeltaNano-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/time.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 40 41 return 0; 41 42 } 43 RT_EXPORT_SYMBOL(RTTimeLocalDeltaNano); 42 44 -
trunk/src/VBox/Runtime/generic/RTTimeLocalExplode-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/time.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 46 47 return pTime; 47 48 } 49 RT_EXPORT_SYMBOL(RTTimeLocalExplode); 48 50 -
trunk/src/VBox/Runtime/generic/RTTimeLocalNow-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/time.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 49 50 return RTTimeSpecAddNano(pTime, i64PostDelta); 50 51 } 52 RT_EXPORT_SYMBOL(RTTimeLocalNow); 51 53 -
trunk/src/VBox/Runtime/generic/RTTimerCreate-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/timer.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/err.h> 37 39 #include <iprt/assert.h> … … 51 53 return rc; 52 54 } 55 RT_EXPORT_SYMBOL(RTTimerCreate); 53 56 -
trunk/src/VBox/Runtime/generic/RTTimerLRCreate-generic.cpp
r10944 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/timer.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/err.h> 37 39 #include <iprt/assert.h> … … 51 53 return rc; 52 54 } 55 RT_EXPORT_SYMBOL(RTTimerLRCreate); 53 56 -
trunk/src/VBox/Runtime/generic/RTUuidCreate-generic.cpp
r11413 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/uuid.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 #include <iprt/err.h> … … 55 57 return VINF_SUCCESS; 56 58 } 59 RT_EXPORT_SYMBOL(RTUuidCreate); 57 60 -
trunk/src/VBox/Runtime/generic/critsect-generic.cpp
r20008 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/critsect.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/semaphore.h> 36 39 #include <iprt/thread.h> … … 55 58 return RTCritSectInitEx(pCritSect, 0); 56 59 } 60 RT_EXPORT_SYMBOL(RTCritSectInit); 57 61 58 62 … … 87 91 return rc; 88 92 } 93 RT_EXPORT_SYMBOL(RTCritSectInitEx); 89 94 90 95 … … 198 203 } 199 204 } 205 RT_EXPORT_SYMBOL(RTCritSectEnterMultiple); 200 206 201 207 … … 261 267 return VINF_SUCCESS; 262 268 } 269 RT_EXPORT_SYMBOL(RTCritSectTryEnter); 263 270 264 271 … … 349 356 return VINF_SUCCESS; 350 357 } 358 RT_EXPORT_SYMBOL(RTCritSectEnter); 351 359 352 360 … … 394 402 return VINF_SUCCESS; 395 403 } 404 RT_EXPORT_SYMBOL(RTCritSectLeave); 396 405 397 406 … … 414 423 return rc; 415 424 } 425 RT_EXPORT_SYMBOL(RTCritSectLeaveMultiple); 416 426 417 427 … … 432 442 } 433 443 #endif /* RT_STRICT */ 444 RT_EXPORT_SYMBOL(RTCritSectEnterDebug); 445 RT_EXPORT_SYMBOL(RTCritSectTryEnterDebug); 446 RT_EXPORT_SYMBOL(RTCritSectEnterMultipleDebug); 434 447 435 448 … … 469 482 return rc; 470 483 } 471 484 RT_EXPORT_SYMBOL(RTCritSectDelete); 485 -
trunk/src/VBox/Runtime/generic/env-generic.cpp
r20374 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/env.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 #include <iprt/alloc.h> … … 53 55 RT_C_DECLS_END 54 56 #endif 57 55 58 56 59 /******************************************************************************* … … 152 155 return rtEnvCreate(pEnv, RTENV_GROW_SIZE); 153 156 } 157 RT_EXPORT_SYMBOL(RTEnvCreate); 154 158 155 159 … … 195 199 return VINF_SUCCESS; 196 200 } 201 RT_EXPORT_SYMBOL(RTEnvDestroy); 197 202 198 203 … … 274 279 return rc; 275 280 } 281 RT_EXPORT_SYMBOL(RTEnvClone); 276 282 277 283 … … 301 307 return rc; 302 308 } 309 RT_EXPORT_SYMBOL(RTEnvPutEx); 303 310 304 311 … … 406 413 return rc; 407 414 } 415 RT_EXPORT_SYMBOL(RTEnvSetEx); 408 416 409 417 … … 461 469 462 470 } 471 RT_EXPORT_SYMBOL(RTEnvUnsetEx); 463 472 464 473 … … 547 556 548 557 } 558 RT_EXPORT_SYMBOL(RTEnvGetEx); 549 559 550 560 … … 593 603 return fExist; 594 604 } 605 RT_EXPORT_SYMBOL(RTEnvExistEx); 595 606 596 607 … … 655 666 return papszRet; 656 667 } 668 RT_EXPORT_SYMBOL(RTEnvGetExecEnvP); -
trunk/src/VBox/Runtime/generic/fs-stubs-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #define LOG_GROUP RTLOGGROUP_FS 36 #include <iprt/fs.h> 37 #include "internal/iprt.h" 36 38 37 #include <iprt/fs.h>38 39 #include <iprt/err.h> 39 40 #include <iprt/log.h> -
trunk/src/VBox/Runtime/generic/mempool-generic.cpp
r20575 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/mempool.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/asm.h> … … 154 156 return rc; 155 157 } 158 RT_EXPORT_SYMBOL(RTMemPoolCreate); 156 159 157 160 … … 192 195 return VINF_SUCCESS; 193 196 } 197 RT_EXPORT_SYMBOL(RTMemPoolDestroy); 194 198 195 199 … … 258 262 return pEntry + 1; 259 263 } 264 RT_EXPORT_SYMBOL(RTMemPoolAlloc); 260 265 261 266 … … 272 277 return pEntry + 1; 273 278 } 279 RT_EXPORT_SYMBOL(RTMemPoolAllocZ); 274 280 275 281 … … 287 293 return pEntry + 1; 288 294 } 295 RT_EXPORT_SYMBOL(RTMemPoolDup); 289 296 290 297 … … 303 310 return pEntry + 1; 304 311 } 312 RT_EXPORT_SYMBOL(RTMemPoolDupEx); 305 313 306 314 … … 346 354 return pEntry + 1; 347 355 } 356 RT_EXPORT_SYMBOL(RTMemPoolRealloc); 348 357 349 358 … … 352 361 RTMemPoolRelease(hMemPool, pv); 353 362 } 363 RT_EXPORT_SYMBOL(RTMemPoolFree); 354 364 355 365 … … 364 374 return cRefs; 365 375 } 376 RT_EXPORT_SYMBOL(RTMemPoolRetain); 366 377 367 378 … … 389 400 return cRefs; 390 401 } 391 402 RT_EXPORT_SYMBOL(RTMemPoolRelease); 403 -
trunk/src/VBox/Runtime/generic/mppresent-generic.cpp
r12104 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 35 37 36 38 … … 39 41 return RTMpGetSet(pSet); 40 42 } 43 RT_EXPORT_SYMBOL(RTMpGetPresentSet); 41 44 42 45 … … 45 48 return RTMpGetCount(); 46 49 } 50 RT_EXPORT_SYMBOL(RTMpGetPresentCount); 47 51 48 52 … … 51 55 return RTMpIsCpuPossible(idCpu); 52 56 } 57 RT_EXPORT_SYMBOL(RTMpIsCpuPresent); 53 58 -
trunk/src/VBox/Runtime/generic/pathhost-generic.cpp
r8245 r21337 35 35 #define LOG_GROUP RTLOGGROUP_PATH 36 36 #include <iprt/string.h> 37 #include "internal/iprt.h" 38 37 39 #include "internal/path.h" 38 40 -
trunk/src/VBox/Runtime/generic/sched-generic.cpp
r8245 r21337 35 35 #define LOG_GROUP RTLOGGROUP_THREAD 36 36 #include <iprt/thread.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/log.h> 38 40 #include <iprt/assert.h> -
trunk/src/VBox/Runtime/generic/semfastmutex-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/semaphore.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/alloc.h> 37 39 #include <iprt/err.h> … … 50 52 return rc; 51 53 } 54 RT_EXPORT_SYMBOL(RTSemFastMutexCreate); 52 55 53 56 … … 62 65 return rc; 63 66 } 67 RT_EXPORT_SYMBOL(RTSemFastMutexDestroy); 64 68 65 69 … … 68 72 return RTCritSectEnter((PRTCRITSECT)MutexSem); 69 73 } 74 RT_EXPORT_SYMBOL(RTSemFastMutexRequest); 70 75 71 76 … … 74 79 return RTCritSectLeave((PRTCRITSECT)MutexSem); 75 80 } 81 RT_EXPORT_SYMBOL(RTSemFastMutexRelease); 76 82 -
trunk/src/VBox/Runtime/generic/semnoint-generic.cpp
r8245 r21337 35 35 #define LOG_GROUP RTLOGGROUP_SEM 36 36 #include <iprt/semaphore.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/time.h> 38 40 #include <iprt/err.h> … … 66 68 return rc; 67 69 } 70 RT_EXPORT_SYMBOL(RTSemEventWait); 68 71 69 72 … … 93 96 return rc; 94 97 } 98 RT_EXPORT_SYMBOL(RTSemEventMultiWait); 95 99 96 100 … … 120 124 return rc; 121 125 } 126 RT_EXPORT_SYMBOL(RTSemMutexRequest); 122 127 -
trunk/src/VBox/Runtime/generic/semsrw-generic.cpp
r20603 r21337 33 33 34 34 35 36 35 /******************************************************************************* 37 36 * Header Files * 38 37 *******************************************************************************/ 39 38 #include <iprt/semaphore.h> 39 #include "internal/iprt.h" 40 40 41 #include <iprt/critsect.h> 41 42 #include <iprt/alloc.h> … … 150 151 return rc; 151 152 } 153 RT_EXPORT_SYMBOL(RTSemRWCreate); 152 154 153 155 … … 210 212 return rc; 211 213 } 214 RT_EXPORT_SYMBOL(RTSemRWDestroy); 212 215 213 216 … … 303 306 return rc; 304 307 } 308 RT_EXPORT_SYMBOL(RTSemRWRequestRead); 305 309 306 310 … … 309 313 return RTSemRWRequestRead(RWSem, cMillies); 310 314 } 315 RT_EXPORT_SYMBOL(RTSemRWRequestReadNoResume); 311 316 312 317 … … 357 362 return rc; 358 363 } 364 RT_EXPORT_SYMBOL(RTSemRWReleaseRead); 359 365 360 366 … … 466 472 return rc; 467 473 } 474 RT_EXPORT_SYMBOL(RTSemRWRequestWrite); 468 475 469 476 … … 472 479 return RTSemRWRequestWrite(RWSem, cMillies); 473 480 } 481 RT_EXPORT_SYMBOL(RTSemRWRequestWriteNoResume); 474 482 475 483 … … 533 541 return rc; 534 542 } 543 RT_EXPORT_SYMBOL(RTSemRWReleaseWrite); 535 544 536 545 … … 555 564 return Writer == Self; 556 565 } 566 RT_EXPORT_SYMBOL(RTSemRWIsWriteOwner); 557 567 558 568 … … 574 584 return pThis->cWrites; 575 585 } 586 RT_EXPORT_SYMBOL(RTSemRWGetWriteRecursion); 576 587 577 588 … … 593 604 return pThis->cWriterReads; 594 605 } 606 RT_EXPORT_SYMBOL(RTSemRWGetWriterReadRecursion); -
trunk/src/VBox/Runtime/generic/spinlock-generic.cpp
r8245 r21337 43 43 *******************************************************************************/ 44 44 #include <iprt/spinlock.h> 45 #include "internal/iprt.h" 46 45 47 #include <iprt/alloc.h> 46 48 #include <iprt/asm.h> … … 88 90 return VINF_SUCCESS; 89 91 } 92 RT_EXPORT_SYMBOL(RTSpinlockCreate); 90 93 91 94 … … 108 111 return VINF_SUCCESS; 109 112 } 113 RT_EXPORT_SYMBOL(RTSpinlockDestroy); 110 114 111 115 … … 132 136 #endif 133 137 } 138 RT_EXPORT_SYMBOL(RTSpinlockAcquireNoInts); 134 139 135 140 … … 145 150 ASMSetFlags(pTmp->uFlags); 146 151 } 152 RT_EXPORT_SYMBOL(RTSpinlockReleaseNoInts); 147 153 148 154 … … 167 173 #endif 168 174 } 175 RT_EXPORT_SYMBOL(RTSpinlockAcquire); 169 176 170 177 … … 179 186 AssertMsgFailed(("Spinlock %p was not locked!\n", pSpinlockInt)); 180 187 } 188 RT_EXPORT_SYMBOL(RTSpinlockRelease); 181 189 -
trunk/src/VBox/Runtime/generic/strcache-stubs-generic.cpp
r20647 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/strcache.h> 36 #include "internal/iprt.h" 36 37 37 38 #include <iprt/asm.h> … … 50 51 return RTMemPoolCreate((PRTMEMPOOL)phStrCache, pszName); 51 52 } 53 RT_EXPORT_SYMBOL(RTStrCacheCreate); 52 54 53 55 … … 59 61 return RTMemPoolDestroy((RTMEMPOOL)hStrCache); 60 62 } 63 RT_EXPORT_SYMBOL(RTStrCacheDestroy); 61 64 62 65 … … 69 72 return (const char *)RTMemPoolDupEx((RTMEMPOOL)hStrCache, pchString, cchString, 1); 70 73 } 74 RT_EXPORT_SYMBOL(RTStrCacheEnterN); 71 75 72 76 … … 75 79 return RTStrCacheEnterN(hStrCache, psz, strlen(psz)); 76 80 } 81 RT_EXPORT_SYMBOL(RTStrCacheEnter); 77 82 78 83 … … 82 87 return RTMemPoolRetain((void *)psz); 83 88 } 89 RT_EXPORT_SYMBOL(RTStrCacheRetain); 84 90 85 91 … … 90 96 return RTMemPoolRelease((RTMEMPOOL)hStrCache, (void *)psz); 91 97 } 98 RT_EXPORT_SYMBOL(RTStrCacheRelease); 92 99 93 100 … … 98 105 return strlen(psz); 99 106 } 107 RT_EXPORT_SYMBOL(RTStrCacheLength); 100 108 -
trunk/src/VBox/Runtime/generic/timer-generic.cpp
r14298 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/timer.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/thread.h> 37 39 #include <iprt/err.h> … … 134 136 return rc; 135 137 } 138 RT_EXPORT_SYMBOL(RTTimerCreateEx); 136 139 137 140 … … 181 184 return VINF_SUCCESS; 182 185 } 186 RT_EXPORT_SYMBOL(RTTimerDestroy); 183 187 184 188 … … 204 208 return rc; 205 209 } 210 RT_EXPORT_SYMBOL(RTTimerStart); 206 211 207 212 … … 223 228 return rc; 224 229 } 230 RT_EXPORT_SYMBOL(RTTimerStop); 225 231 226 232 … … 307 313 return 10000000; /* 10ms */ 308 314 } 315 RT_EXPORT_SYMBOL(RTTimerGetSystemGranularity); 309 316 310 317 … … 313 320 return VERR_NOT_SUPPORTED; 314 321 } 322 RT_EXPORT_SYMBOL(RTTimerRequestSystemGranularity); 315 323 316 324 … … 319 327 return VERR_NOT_SUPPORTED; 320 328 } 321 329 RT_EXPORT_SYMBOL(RTTimerReleaseSystemGranularity); 330 -
trunk/src/VBox/Runtime/generic/timerlr-generic.cpp
r14298 r21337 37 37 *******************************************************************************/ 38 38 #include <iprt/timer.h> 39 #include "internal/iprt.h" 40 39 41 #include <iprt/thread.h> 40 42 #include <iprt/err.h> … … 140 142 return rc; 141 143 } 144 RT_EXPORT_SYMBOL(RTTimerLRCreateEx); 142 145 143 146 … … 176 179 return VINF_SUCCESS; 177 180 } 181 RT_EXPORT_SYMBOL(RTTimerLRDestroy); 178 182 179 183 … … 208 212 return rc; 209 213 } 214 RT_EXPORT_SYMBOL(RTTimerLRStart); 210 215 211 216 … … 233 238 return rc; 234 239 } 240 RT_EXPORT_SYMBOL(RTTimerLRStop); 235 241 236 242 -
trunk/src/VBox/Runtime/generic/tls-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #define LOG_GROUP RTLOGGROUP_THREAD 36 #include <iprt/thread.h> 37 #include "internal/iprt.h" 36 38 37 #include <iprt/thread.h>38 39 #include <iprt/err.h> 39 40 #include <iprt/asm.h> -
trunk/src/VBox/Runtime/generic/utf16locale-generic.cpp
r8245 r21337 35 35 #define LOG_GROUP RTLOGGROUP_UTF16 36 36 #include <iprt/string.h> 37 #include "internal/iprt.h" 37 38 38 39 … … 41 42 return RTUtf16ICmp(pusz1, pusz2); 42 43 } 44 RT_EXPORT_SYMBOL(RTUtf16LocaleICmp); 43 45 -
trunk/src/VBox/Runtime/generic/uuid-generic.cpp
r19198 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/uuid.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 #include <iprt/err.h> … … 79 81 return VINF_SUCCESS; 80 82 } 83 RT_EXPORT_SYMBOL(RTUuidClear); 81 84 82 85 … … 87 90 && !pUuid->au64[1]; 88 91 } 92 RT_EXPORT_SYMBOL(RTUuidIsNull); 89 93 90 94 … … 130 134 return 0; 131 135 } 136 RT_EXPORT_SYMBOL(RTUuidCompare); 132 137 133 138 … … 149 154 return RTUuidCompare(pUuid1, &Uuid2); 150 155 } 156 RT_EXPORT_SYMBOL(RTUuidCompareStr); 151 157 152 158 … … 218 224 return VINF_SUCCESS; 219 225 } 226 RT_EXPORT_SYMBOL(RTUuidToStr); 220 227 221 228 … … 312 319 return VINF_SUCCESS; 313 320 } 321 RT_EXPORT_SYMBOL(RTUuidFromStr); 314 322 315 323 … … 382 390 return VINF_SUCCESS; 383 391 } 392 RT_EXPORT_SYMBOL(RTUuidToUtf16); 384 393 385 394 … … 477 486 return VINF_SUCCESS; 478 487 } 479 488 RT_EXPORT_SYMBOL(RTUuidFromUtf16); 489
Note:
See TracChangeset
for help on using the changeset viewer.