Changeset 21337 in vbox
- Timestamp:
- Jul 7, 2009 2:58:27 PM (15 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 1 added
- 167 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r21260 r21337 216 216 { 217 217 #ifdef VBOX_WITH_HGCM 218 rc = vboxGuestInitFilterMask(pDevExt, VMMDEV_EVENT_HGCM | fEvents);219 #e lse218 fEvents |= VMMDEV_EVENT_HGCM; 219 #endif 220 220 rc = vboxGuestInitFilterMask(pDevExt, fEvents); 221 #endif222 221 if (RT_SUCCESS(rc)) 223 222 { -
trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile
r21137 r21337 83 83 r0drv/linux/initterm-r0drv-linux.o \ 84 84 r0drv/linux/memobj-r0drv-linux.o \ 85 r0drv/linux/memuserkernel-r0drv-linux.o \ 85 86 r0drv/linux/mp-r0drv-linux.o \ 86 87 r0drv/linux/mpnotification-r0drv-linux.o \ -
trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest
r21263 r21337 74 74 ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuestLib/VMMDev.cpp=>VMMDev.c \ 75 75 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \ 76 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ 76 77 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \ 77 78 ${PATH_ROOT}/src/VBox/Runtime/include/internal/memobj.h=>include/internal/memobj.h \ … … 113 114 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c=>r0drv/linux/initterm-r0drv-linux.c \ 114 115 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c=>r0drv/linux/memobj-r0drv-linux.c \ 116 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/memuserkernel-r0drv-linux.c=>r0drv/linux/memuserkernel-r0drv-linux.c \ 115 117 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c=>r0drv/linux/mp-r0drv-linux.c \ 116 118 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c=>r0drv/linux/mpnotification-r0drv-linux.c \ -
trunk/src/VBox/Additions/linux/module/files_vboxadd
r21326 r21337 60 60 ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestLog.h=>VBoxGuestLog.h \ 61 61 ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuestLib/VMMDev.cpp=>VMMDev.c \ 62 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ 62 63 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \ 63 64 ${PATH_ROOT}/src/VBox/Runtime/include/internal/memobj.h=>include/internal/memobj.h \ -
trunk/src/VBox/Additions/linux/sharedfolders/files_vboxvfs
r21325 r21337 72 72 ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>udivdi3.c \ 73 73 ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>umoddi3.c \ 74 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ 74 75 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \ 75 76 ${PATH_ROOT}/src/VBox/Runtime/include/internal/memobj.h=>include/internal/memobj.h \ -
trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv
r21285 r21337 91 91 ${PATH_ROOT}/src/VBox/Runtime/common/string/strtonum.cpp=>common/string/strtonum.c \ 92 92 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \ 93 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ 93 94 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \ 94 95 ${PATH_ROOT}/src/VBox/Runtime/include/internal/memobj.h=>include/internal/memobj.h \ -
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp
r19013 r21337 92 92 ${PATH_ROOT}/src/VBox/Runtime/common/string/strtonum.cpp=>common/string/strtonum.c \ 93 93 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \ 94 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ 94 95 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \ 95 96 ${PATH_ROOT}/src/VBox/Runtime/include/internal/memobj.h=>include/internal/memobj.h \ -
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt
r14430 r21337 97 97 ${PATH_ROOT}/src/VBox/Runtime/common/string/strtonum.cpp=>common/string/strtonum.c \ 98 98 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \ 99 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ 99 100 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \ 100 101 ${PATH_ROOT}/src/VBox/Runtime/include/internal/memobj.h=>include/internal/memobj.h \ -
trunk/src/VBox/Runtime/VBox/logbackdoor.cpp
r21227 r21337 33 33 *******************************************************************************/ 34 34 #include <VBox/log.h> 35 #include "internal/iprt.h" 35 36 #include <iprt/asm.h> 36 37 #include <iprt/string.h> … … 58 59 } 59 60 61 RT_EXPORT_SYMBOL(RTLogBackdoorPrintf); 62 60 63 61 64 RTDECL(size_t) RTLogBackdoorPrintfV(const char *pszFormat, va_list args) … … 63 66 return RTLogFormatV(rtLogBackdoorOutput, NULL, pszFormat, args); 64 67 } 68 69 RT_EXPORT_SYMBOL(RTLogBackdoorPrintfV); 65 70 66 71 … … 76 81 77 82 78 #ifdef IN_GUEST_R379 80 83 RTDECL(void) RTLogWriteUser(const char *pch, size_t cb) 81 84 { 85 #ifdef IN_GUEST_R3 82 86 VbglR3WriteLog(pch, cb); 83 }84 85 87 #else /* !IN_GUEST_R3 */ 86 87 RTDECL(void) RTLogWriteUser(const char *pch, size_t cb)88 {89 88 const uint8_t *pau8 = (const uint8_t *)pch; 90 89 if (cb > 1) … … 92 91 else if (cb) 93 92 ASMOutU8(RTLOG_DEBUG_PORT, *pau8); 93 #endif /* !IN_GUEST_R3 */ 94 94 } 95 95 96 # if defined(RT_OS_LINUX) && defined(IN_MODULE) 97 /* 98 * When we build this in the Linux kernel module, we wish to make the 99 * symbols available to other modules as well. 100 */ 101 # include "the-linux-kernel.h" 102 EXPORT_SYMBOL(RTLogBackdoorPrintf); 103 EXPORT_SYMBOL(RTLogBackdoorPrintfV); 104 EXPORT_SYMBOL(RTLogWriteUser); 105 # endif /* RT_OS_LINUX && IN_MODULE */ 106 #endif /* !IN_GUEST_R3 */ 96 RT_EXPORT_SYMBOL(RTLogWriteUser); 107 97 -
trunk/src/VBox/Runtime/common/alloc/alloc.cpp
r11019 r21337 33 33 * Header Files * 34 34 *******************************************************************************/ 35 #include <iprt/alloc.h> 35 #include <iprt/mem.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 #include <iprt/string.h> … … 53 55 return pvDst; 54 56 } 57 RT_EXPORT_SYMBOL(RTMemDup); 55 58 56 59 … … 75 78 return pvDst; 76 79 } 80 RT_EXPORT_SYMBOL(RTMemDupEx); 77 81 78 82 -
trunk/src/VBox/Runtime/common/alloc/heapsimple.cpp
r21292 r21337 34 34 *******************************************************************************/ 35 35 #define LOG_GROUP RTLOGGROUP_DEFAULT 36 37 #if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE)38 /* should come first to prevent warnings about duplicate definitions of PAGE_* */39 # include "the-linux-kernel.h"40 #endif41 42 36 #include <iprt/heap.h> 37 #include "internal/iprt.h" 38 43 39 #include <iprt/assert.h> 44 40 #include <iprt/asm.h> … … 349 345 return VINF_SUCCESS; 350 346 } 347 RT_EXPORT_SYMBOL(RTHeapSimpleInit); 351 348 352 349 … … 397 394 return NULL; 398 395 } 396 RT_EXPORT_SYMBOL(RTHeapSimpleAlloc); 399 397 400 398 … … 445 443 return NULL; 446 444 } 445 RT_EXPORT_SYMBOL(RTHeapSimpleAllocZ); 447 446 448 447 … … 665 664 rtHeapSimpleFreeBlock(pHeapInt, pBlock); 666 665 } 666 RT_EXPORT_SYMBOL(RTHeapSimpleFree); 667 667 668 668 … … 860 860 return cbBlock; 861 861 } 862 RT_EXPORT_SYMBOL(RTHeapSimpleSize); 862 863 863 864 … … 885 886 return pHeapInt->cbHeap; 886 887 } 888 RT_EXPORT_SYMBOL(RTHeapSimpleGetHeapSize); 887 889 888 890 … … 909 911 return pHeapInt->cbFree; 910 912 } 913 RT_EXPORT_SYMBOL(RTHeapSimpleGetFreeSize); 911 914 912 915 … … 941 944 pfnPrintf("**** Done dumping Heap %p ****\n", Heap); 942 945 } 943 944 945 #if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE) 946 EXPORT_SYMBOL(RTHeapSimpleAlloc); 947 EXPORT_SYMBOL(RTHeapSimpleInit); 948 EXPORT_SYMBOL(RTHeapSimpleFree); 949 #endif 946 RT_EXPORT_SYMBOL(RTHeapSimpleDump); 947 -
trunk/src/VBox/Runtime/common/checksum/crc32.cpp
r8245 r21337 80 80 #else 81 81 # include <iprt/crc32.h> 82 # include "internal/iprt.h" 82 83 #endif 83 84 … … 169 170 return uCRC32 ^ ~0U; 170 171 } 172 RT_EXPORT_SYMBOL(RTCrc32); 171 173 172 174 … … 180 182 return ~0U; 181 183 } 184 RT_EXPORT_SYMBOL(RTCrc32Start); 182 185 183 186 … … 197 200 return uCRC32; 198 201 } 202 RT_EXPORT_SYMBOL(RTCrc32Process); 199 203 200 204 … … 209 213 return uCRC32 ^ ~0U; 210 214 } 211 215 RT_EXPORT_SYMBOL(RTCrc32Finish); 216 -
trunk/src/VBox/Runtime/common/checksum/crc64.cpp
r8245 r21337 34 34 */ 35 35 36 36 37 /******************************************************************************* 37 38 * Header Files * 38 39 *******************************************************************************/ 39 40 #include <iprt/crc64.h> 41 #include "internal/iprt.h" 40 42 41 43 … … 168 170 return uCRC64; 169 171 } 172 RT_EXPORT_SYMBOL(RTCrc64); 170 173 171 174 … … 179 182 return 0ULL; 180 183 } 184 RT_EXPORT_SYMBOL(RTCrc64Start); 181 185 182 186 … … 196 200 return uCRC64; 197 201 } 202 RT_EXPORT_SYMBOL(RTCrc64Process); 198 203 199 204 … … 208 213 return uCRC64; 209 214 } 210 215 RT_EXPORT_SYMBOL(RTCrc64Finish); 216 -
trunk/src/VBox/Runtime/common/checksum/ipv4.cpp
r12821 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/net.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/asm.h> 36 39 #include <iprt/assert.h> … … 83 86 return (uint16_t)~u32Sum; 84 87 } 88 RT_EXPORT_SYMBOL(RTNetIPv4HdrChecksum); 85 89 86 90 … … 124 128 return true; 125 129 } 130 RT_EXPORT_SYMBOL(RTNetIPv4IsHdrValid); 126 131 127 132 … … 159 164 return rtNetIPv4PseudoChecksum(pIpHdr); 160 165 } 166 RT_EXPORT_SYMBOL(RTNetIPv4PseudoChecksum); 161 167 162 168 … … 184 190 return u32Sum; 185 191 } 192 RT_EXPORT_SYMBOL(RTNetIPv4PseudoChecksumBits); 186 193 187 194 … … 214 221 return rtNetIPv4AddUDPChecksum(pUdpHdr, u32Sum); 215 222 } 223 RT_EXPORT_SYMBOL(RTNetIPv4AddUDPChecksum); 216 224 217 225 … … 275 283 return rtNetIPv4AddTCPChecksum(pTcpHdr, u32Sum); 276 284 } 285 RT_EXPORT_SYMBOL(RTNetIPv4AddTCPChecksum); 277 286 278 287 … … 343 352 return rtNetIPv4AddDataChecksum(pvData, cbData, u32Sum, pfOdd); 344 353 } 354 RT_EXPORT_SYMBOL(RTNetIPv4AddDataChecksum); 345 355 346 356 … … 370 380 return rtNetIPv4FinalizeChecksum(u32Sum); 371 381 } 382 RT_EXPORT_SYMBOL(RTNetIPv4FinalizeChecksum); 372 383 373 384 … … 391 402 return rtNetIPv4FinalizeChecksum(u32Sum); 392 403 } 404 RT_EXPORT_SYMBOL(RTNetIPv4UDPChecksum); 393 405 394 406 … … 431 443 return rtNetIPv4IsUDPSizeValid(pIpHdr, pUdpHdr, cbPktMax); 432 444 } 445 RT_EXPORT_SYMBOL(RTNetIPv4IsUDPSizeValid); 433 446 434 447 … … 456 469 return true; 457 470 } 471 RT_EXPORT_SYMBOL(RTNetIPv4IsUDPValid); 458 472 459 473 … … 481 495 return rtNetIPv4FinalizeChecksum(u32Sum); 482 496 } 497 RT_EXPORT_SYMBOL(RTNetIPv4TCPChecksum); 483 498 484 499 … … 526 541 return rtNetIPv4IsTCPSizeValid(pIpHdr, pTcpHdr, cbHdrMax, cbPktMax); 527 542 } 543 RT_EXPORT_SYMBOL(RTNetIPv4IsTCPSizeValid); 528 544 529 545 … … 551 567 return true; 552 568 } 569 RT_EXPORT_SYMBOL(RTNetIPv4IsTCPValid); 553 570 554 571 … … 679 696 return true; 680 697 } 681 698 RT_EXPORT_SYMBOL(RTNetIPv4IsDHCPValid); 699 -
trunk/src/VBox/Runtime/common/checksum/md5.cpp
r14048 r21337 50 50 */ 51 51 52 /******************************************************************************* 53 * Header Files * 54 *******************************************************************************/ 55 #include <iprt/md5.h> 56 #include "internal/iprt.h" 57 52 58 #include <iprt/string.h> /* for memcpy() */ 53 #include <iprt/md5.h> 54 59 60 61 /******************************************************************************* 62 * Defined Constants And Macros * 63 *******************************************************************************/ 55 64 #ifdef sgi 56 65 #define HIGHFIRST … … 97 106 ctx->bits[1] = 0; 98 107 } 108 RT_EXPORT_SYMBOL(RTMd5Init); 109 99 110 100 111 /* … … 146 157 memcpy(ctx->in, buf, len); 147 158 } 159 RT_EXPORT_SYMBOL(RTMd5Update); 160 148 161 149 162 /* … … 191 204 memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ 192 205 } 206 RT_EXPORT_SYMBOL(RTMd5Final); 193 207 194 208 -
trunk/src/VBox/Runtime/common/dbg/dbg.cpp
r20800 r21337 33 33 *******************************************************************************/ 34 34 #include <iprt/dbg.h> 35 #include "internal/iprt.h" 36 35 37 #include <iprt/mem.h> 36 38 … … 46 48 return (PRTDBGSYMBOL)RTMemAllocZ(sizeof(RTDBGSYMBOL)); 47 49 } 50 RT_EXPORT_SYMBOL(RTDbgSymbolAlloc); 48 51 49 52 … … 59 62 return (PRTDBGSYMBOL)RTMemDup(pSymInfo, sizeof(*pSymInfo)); 60 63 } 64 RT_EXPORT_SYMBOL(RTDbgSymbolDup); 61 65 62 66 … … 70 74 RTMemFree(pSymInfo); 71 75 } 76 RT_EXPORT_SYMBOL(RTDbgSymbolFree); 72 77 73 78 … … 81 86 return (PRTDBGLINE)RTMemAllocZ(sizeof(RTDBGLINE)); 82 87 } 88 RT_EXPORT_SYMBOL(RTDbgLineAlloc); 83 89 84 90 … … 94 100 return (PRTDBGLINE)RTMemDup(pLine, sizeof(*pLine)); 95 101 } 102 RT_EXPORT_SYMBOL(RTDbgLineDup); 96 103 97 104 … … 105 112 RTMemFree(pLine); 106 113 } 114 RT_EXPORT_SYMBOL(RTDbgLineFree); 107 115 108 116 -
trunk/src/VBox/Runtime/common/dbg/dbgas.cpp
r21110 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/dbg.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/asm.h> 36 39 #include <iprt/avl.h> … … 224 227 return rc; 225 228 } 229 RT_EXPORT_SYMBOL(RTDbgAsCreate); 226 230 227 231 … … 251 255 return rc; 252 256 } 257 RT_EXPORT_SYMBOL(RTDbgAsCreateV); 253 258 254 259 … … 272 277 return rc; 273 278 } 279 RT_EXPORT_SYMBOL(RTDbgAsCreateF); 274 280 275 281 … … 351 357 return ASMAtomicIncU32(&pDbgAs->cRefs); 352 358 } 359 RT_EXPORT_SYMBOL(RTDbgAsRetain); 353 360 354 361 … … 380 387 return cRefs; 381 388 } 389 RT_EXPORT_SYMBOL(RTDbgAsRelease); 382 390 383 391 … … 398 406 return pDbgAs->szName; 399 407 } 408 RT_EXPORT_SYMBOL(RTDbgAsName); 400 409 401 410 … … 416 425 return pDbgAs->FirstAddr; 417 426 } 427 RT_EXPORT_SYMBOL(RTDbgAsFirstAddr); 418 428 419 429 … … 434 444 return pDbgAs->LastAddr; 435 445 } 446 RT_EXPORT_SYMBOL(RTDbgAsLastAddr); 436 447 437 448 /** … … 453 464 return pDbgAs->cModules; 454 465 } 466 RT_EXPORT_SYMBOL(RTDbgAsModuleCount); 455 467 456 468 … … 635 647 return rc; 636 648 } 649 RT_EXPORT_SYMBOL(RTDbgAsModuleLink); 637 650 638 651 … … 683 696 return rc; 684 697 } 698 RT_EXPORT_SYMBOL(RTDbgAsModuleLinkSeg); 685 699 686 700 … … 839 853 return VINF_SUCCESS; 840 854 } 855 RT_EXPORT_SYMBOL(RTDbgAsModuleUnlink); 841 856 842 857 … … 874 889 return VINF_SUCCESS; 875 890 } 891 RT_EXPORT_SYMBOL(RTDbgAsModuleUnlinkByAddr); 876 892 877 893 … … 914 930 return hMod; 915 931 } 932 RT_EXPORT_SYMBOL(RTDbgAsModuleByIndex); 916 933 917 934 … … 965 982 return VINF_SUCCESS; 966 983 } 984 RT_EXPORT_SYMBOL(RTDbgAsModuleByAddr); 967 985 968 986 … … 1019 1037 return VINF_SUCCESS; 1020 1038 } 1039 RT_EXPORT_SYMBOL(RTDbgAsModuleByName); 1021 1040 1022 1041 … … 1169 1188 return rc; 1170 1189 } 1190 RT_EXPORT_SYMBOL(RTDbgAsSymbolAdd); 1171 1191 1172 1192 … … 1216 1236 return rc; 1217 1237 } 1238 RT_EXPORT_SYMBOL(RTDbgAsSymbolByAddr); 1218 1239 1219 1240 … … 1264 1285 return rc; 1265 1286 } 1287 RT_EXPORT_SYMBOL(RTDbgAsSymbolByAddrA); 1266 1288 1267 1289 … … 1437 1459 return VERR_SYMBOL_NOT_FOUND; 1438 1460 } 1461 RT_EXPORT_SYMBOL(RTDbgAsSymbolByName); 1439 1462 1440 1463 … … 1511 1534 return VERR_SYMBOL_NOT_FOUND; 1512 1535 } 1536 RT_EXPORT_SYMBOL(RTDbgAsSymbolByNameA); 1513 1537 1514 1538 … … 1551 1575 return rc; 1552 1576 } 1577 RT_EXPORT_SYMBOL(RTDbgAsLineAdd); 1553 1578 1554 1579 … … 1590 1615 return rc; 1591 1616 } 1617 RT_EXPORT_SYMBOL(RTDbgAsLineByAddr); 1592 1618 1593 1619 … … 1630 1656 return rc; 1631 1657 } 1632 1658 RT_EXPORT_SYMBOL(RTDbgAsLineByAddrA); 1659 -
trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp
r21046 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/dbg.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/asm.h> … … 305 307 return rc; 306 308 } 309 RT_EXPORT_SYMBOL(RTDbgModCreate); 307 310 308 311 … … 311 314 return VERR_NOT_IMPLEMENTED; 312 315 } 316 RT_EXPORT_SYMBOL(RTDbgModCreateDeferred); 313 317 314 318 … … 317 321 return VERR_NOT_IMPLEMENTED; 318 322 } 323 RT_EXPORT_SYMBOL(RTDbgModCreateFromImage); 319 324 320 325 … … 393 398 return rc; 394 399 } 400 RT_EXPORT_SYMBOL(RTDbgModCreateFromMap); 395 401 396 402 … … 449 455 return ASMAtomicIncU32(&pDbgMod->cRefs); 450 456 } 457 RT_EXPORT_SYMBOL(RTDbgModRetain); 451 458 452 459 … … 475 482 return cRefs; 476 483 } 484 RT_EXPORT_SYMBOL(RTDbgModRelease); 477 485 478 486 … … 490 498 return pDbgMod->pszName; 491 499 } 500 RT_EXPORT_SYMBOL(RTDbgModName); 492 501 493 502 … … 514 523 return iSeg; 515 524 } 525 RT_EXPORT_SYMBOL(RTDbgModRvaToSegOff); 516 526 517 527 … … 538 548 return cbImage; 539 549 } 550 RT_EXPORT_SYMBOL(RTDbgModImageSize); 540 551 541 552 … … 596 607 597 608 } 609 RT_EXPORT_SYMBOL(RTDbgModSegmentAdd); 598 610 599 611 … … 620 632 return cSegs; 621 633 } 634 RT_EXPORT_SYMBOL(RTDbgModSegmentCount); 622 635 623 636 … … 651 664 return rc; 652 665 } 666 RT_EXPORT_SYMBOL(RTDbgModSegmentByIndex); 653 667 654 668 … … 675 689 return RT_SUCCESS(rc) ? SegInfo.cb : RTUINTPTR_MAX; 676 690 } 691 RT_EXPORT_SYMBOL(RTDbgModSegmentSize); 677 692 678 693 … … 696 711 return RT_SUCCESS(rc) ? SegInfo.uRva : RTUINTPTR_MAX; 697 712 } 713 RT_EXPORT_SYMBOL(RTDbgModSegmentRva); 698 714 699 715 … … 769 785 return rc; 770 786 } 787 RT_EXPORT_SYMBOL(RTDbgModSymbolAdd); 771 788 772 789 … … 794 811 return cSymbols; 795 812 } 813 RT_EXPORT_SYMBOL(RTDbgModSymbolCount); 796 814 797 815 … … 821 839 return rc; 822 840 } 841 RT_EXPORT_SYMBOL(RTDbgModSymbolByOrdinal); 823 842 824 843 … … 856 875 return rc; 857 876 } 877 RT_EXPORT_SYMBOL(RTDbgModSymbolByOrdinalA); 858 878 859 879 … … 916 936 return rc; 917 937 } 938 RT_EXPORT_SYMBOL(RTDbgModSymbolByAddr); 918 939 919 940 … … 962 983 return rc; 963 984 } 985 RT_EXPORT_SYMBOL(RTDbgModSymbolByAddrA); 964 986 965 987 … … 999 1021 return rc; 1000 1022 } 1023 RT_EXPORT_SYMBOL(RTDbgModSymbolByName); 1001 1024 1002 1025 … … 1034 1057 return rc; 1035 1058 } 1059 RT_EXPORT_SYMBOL(RTDbgModSymbolByNameA); 1036 1060 1037 1061 … … 1102 1126 return rc; 1103 1127 } 1128 RT_EXPORT_SYMBOL(RTDbgModLineAdd); 1104 1129 1105 1130 … … 1127 1152 return cLineNumbers; 1128 1153 } 1154 RT_EXPORT_SYMBOL(RTDbgModLineCount); 1129 1155 1130 1156 … … 1157 1183 return rc; 1158 1184 } 1185 RT_EXPORT_SYMBOL(RTDbgModLineByOrdinal); 1159 1186 1160 1187 … … 1195 1222 return rc; 1196 1223 } 1224 RT_EXPORT_SYMBOL(RTDbgModLineByOrdinalA); 1197 1225 1198 1226 … … 1253 1281 return rc; 1254 1282 } 1283 RT_EXPORT_SYMBOL(RTDbgModLineByAddr); 1255 1284 1256 1285 … … 1300 1329 return rc; 1301 1330 } 1302 1331 RT_EXPORT_SYMBOL(RTDbgModLineByAddrA); 1332 -
trunk/src/VBox/Runtime/common/dbg/dbgmodcontainer.cpp
r21110 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/dbg.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/avl.h> -
trunk/src/VBox/Runtime/common/dbg/dbgmodnm.cpp
r21290 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/dbg.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/err.h> -
trunk/src/VBox/Runtime/common/err/RTErrConvertFromErrno.cpp
r18329 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/err.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 #include <iprt/err.h>38 39 39 40 #if defined(RT_OS_DARWIN) && defined(KERNEL) … … 446 447 } 447 448 } 448 449 RT_EXPORT_SYMBOL(RTErrConvertFromErrno); 450 -
trunk/src/VBox/Runtime/common/err/RTErrConvertToErrno.cpp
r18329 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/err.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 #include <iprt/err.h> … … 456 458 } 457 459 } 458 459 #if defined(RT_OS_LINUX) && defined(IN_MODULE) 460 /* 461 * When we build this in the Linux kernel module, we wish to make the 462 * symbols available to other modules as well. 463 */ 464 # include "the-linux-kernel.h" 465 EXPORT_SYMBOL(RTErrConvertToErrno); 466 #endif 460 RT_EXPORT_SYMBOL(RTErrConvertToErrno); 461 -
trunk/src/VBox/Runtime/common/err/errmsg.cpp
r13836 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/err.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/asm.h> 36 39 #include <iprt/string.h> … … 103 106 return &g_aUnknownMsgs[iMsg]; 104 107 } 108 RT_EXPORT_SYMBOL(RTErrGet); 105 109 -
trunk/src/VBox/Runtime/common/err/errmsgxpcom.cpp
r14626 r21337 33 33 *******************************************************************************/ 34 34 #include <iprt/err.h> 35 #include "internal/iprt.h" 36 35 37 #include <iprt/asm.h> 36 38 #include <iprt/string.h> … … 150 152 return &g_aUnknownMsgs[iMsg]; 151 153 } 154 RT_EXPORT_SYMBOL(RTErrCOMGet); 152 155 -
trunk/src/VBox/Runtime/common/ldr/ldr.cpp
r17019 r21337 35 35 #define LOG_GROUP RTLOGGROUP_LDR 36 36 #include <iprt/ldr.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/alloc.h> 38 40 #include <iprt/string.h> … … 84 86 return false; 85 87 } 88 RT_EXPORT_SYMBOL(RTLdrIsLoadable); 86 89 87 90 … … 128 131 return rc; 129 132 } 133 RT_EXPORT_SYMBOL(RTLdrGetSymbol); 130 134 131 135 … … 162 166 return VINF_SUCCESS; 163 167 } 168 RT_EXPORT_SYMBOL(RTLdrClose); 164 169 -
trunk/src/VBox/Runtime/common/ldr/ldrELF.cpp
r16933 r21337 35 35 #define LOG_GROUP RTLOGGROUP_LDR 36 36 #include <iprt/ldr.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/alloc.h> 38 40 #include <iprt/assert.h> -
trunk/src/VBox/Runtime/common/ldr/ldrELFRelocatable.cpp.h
r19167 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Defined Constants And Macros * -
trunk/src/VBox/Runtime/common/ldr/ldrEx.cpp
r16933 r21337 35 35 #define LOG_GROUP RTLOGGROUP_LDR 36 36 #include <iprt/ldr.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/alloc.h> 38 40 #include <iprt/assert.h> … … 195 197 return cb; 196 198 } 199 RT_EXPORT_SYMBOL(RTLdrSize); 197 200 198 201 … … 231 234 return rc; 232 235 } 236 RT_EXPORT_SYMBOL(RTLdrGetBits); 233 237 234 238 … … 269 273 return rc; 270 274 } 275 RT_EXPORT_SYMBOL(RTLdrRelocate); 271 276 272 277 … … 321 326 return rc; 322 327 } 328 RT_EXPORT_SYMBOL(RTLdrGetSymbolEx); 323 329 324 330 … … 357 363 return rc; 358 364 } 359 365 RT_EXPORT_SYMBOL(RTLdrEnumSymbols); 366 -
trunk/src/VBox/Runtime/common/ldr/ldrFile.cpp
r16933 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * … … 34 35 #define LOG_GROUP RTLOGGROUP_LDR 35 36 #include <iprt/ldr.h> 37 #include "internal/iprt.h" 38 36 39 #include <iprt/alloc.h> 37 40 #include <iprt/file.h> … … 287 290 return rc; 288 291 } 292 RT_EXPORT_SYMBOL(RTLdrOpen); 289 293 290 294 … … 340 344 #endif 341 345 } 342 346 RT_EXPORT_SYMBOL(RTLdrOpenkLdr); 347 -
trunk/src/VBox/Runtime/common/ldr/ldrNative.cpp
r12423 r21337 35 35 #define LOG_GROUP RTLOGGROUP_LDR 36 36 #include <iprt/ldr.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/alloc.h> 38 40 #include <iprt/assert.h> … … 134 136 return rc; 135 137 } 138 RT_EXPORT_SYMBOL(RTLdrLoad); 136 139 137 140 … … 199 202 return rc; 200 203 } 204 RT_EXPORT_SYMBOL(RTLdrLoadAppPriv); 201 205 202 206 … … 220 224 return s_szSuff; 221 225 } 222 226 RT_EXPORT_SYMBOL(RTLdrGetSuff); 227 -
trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp
r16933 r21337 35 35 #define LOG_GROUP RTLOGGROUP_LDR 36 36 #include <iprt/ldr.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/alloc.h> 38 40 #include <iprt/assert.h> -
trunk/src/VBox/Runtime/common/ldr/ldrkStuff.cpp
r16935 r21337 35 35 #define LOG_GROUP RTLOGGROUP_LDR 36 36 #include <iprt/ldr.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/file.h> 38 40 #include <iprt/alloc.h> -
trunk/src/VBox/Runtime/common/log/log.cpp
r21135 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 37 36 38 #ifndef IN_RC 37 39 # include <iprt/alloc.h> … … 488 490 return rc; 489 491 } 492 RT_EXPORT_SYMBOL(RTLogCreateExV); 493 490 494 491 495 /** … … 517 521 return rc; 518 522 } 523 RT_EXPORT_SYMBOL(RTLogCreate); 524 519 525 520 526 /** … … 548 554 return rc; 549 555 } 556 RT_EXPORT_SYMBOL(RTLogCreateEx); 557 550 558 551 559 /** … … 625 633 return rc; 626 634 } 635 RT_EXPORT_SYMBOL(RTLogDestroy); 627 636 628 637 … … 708 717 return VINF_SUCCESS; 709 718 } 719 RT_EXPORT_SYMBOL(RTLogCloneRC); 710 720 711 721 … … 764 774 } 765 775 } 776 RT_EXPORT_SYMBOL(RTLogFlushRC); 766 777 767 778 … … 809 820 return VINF_SUCCESS; 810 821 } 822 RT_EXPORT_SYMBOL(RTLogCreateForR0); 811 823 #endif /* IN_RING3 */ 812 824 … … 866 878 return rc; 867 879 } 880 RT_EXPORT_SYMBOL(RTLogCopyGroupsAndFlags); 868 881 869 882 … … 935 948 } 936 949 } 950 RT_EXPORT_SYMBOL(RTLogFlushToLogger); 937 951 938 952 … … 968 982 return VINF_SUCCESS; 969 983 } 984 RT_EXPORT_SYMBOL(RTLogSetCustomPrefixCallback); 970 985 971 986 … … 1147 1162 return VINF_SUCCESS; 1148 1163 } 1164 RT_EXPORT_SYMBOL(RTLogGroupSettings); 1149 1165 1150 1166 … … 1377 1393 return rc; 1378 1394 } 1395 RT_EXPORT_SYMBOL(RTLogFlags); 1379 1396 1380 1397 … … 1428 1445 } 1429 1446 } 1447 RT_EXPORT_SYMBOL(RTLogFlush); 1430 1448 1431 1449 … … 1464 1482 #endif /* !IN_RC */ 1465 1483 } 1484 RT_EXPORT_SYMBOL(RTLogDefaultInstance); 1466 1485 1467 1486 … … 1494 1513 #endif 1495 1514 } 1515 RT_EXPORT_SYMBOL(RTLogGetDefaultInstance); 1496 1516 1497 1517 … … 1507 1527 return (PRTLOGGER)ASMAtomicXchgPtr((void * volatile *)&g_pLogger, pLogger); 1508 1528 } 1529 RT_EXPORT_SYMBOL(RTLogSetDefaultInstance); 1509 1530 #endif /* !IN_RC */ 1510 1531 … … 1593 1614 return rc; 1594 1615 } 1616 RT_EXPORT_SYMBOL(RTLogSetDefaultInstanceThread); 1595 1617 #endif 1596 1618 … … 1607 1629 RTLogLoggerExV(pLogger, 0, ~0U, pszFormat, args); 1608 1630 } 1631 RT_EXPORT_SYMBOL(RTLogLoggerV); 1609 1632 1610 1633 … … 1691 1714 rtlogUnlock(pLogger); 1692 1715 } 1716 RT_EXPORT_SYMBOL(RTLogLoggerExV); 1717 1693 1718 1694 1719 #ifdef IN_RING0 … … 1827 1852 RTLogLoggerV(NULL, pszFormat, args); 1828 1853 } 1854 RT_EXPORT_SYMBOL(RTLogPrintfV); 1829 1855 1830 1856 -
trunk/src/VBox/Runtime/common/log/logcom.cpp
r8245 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Defined Constants And Macros * … … 49 50 *******************************************************************************/ 50 51 #include <iprt/log.h> 52 #include "internal/iprt.h" 53 51 54 #include <iprt/asm.h> 52 55 #include <iprt/stdarg.h> … … 77 80 return cb; 78 81 } 82 RT_EXPORT_SYMBOL(RTLogComPrintf); 79 83 80 84 … … 90 94 return RTLogFormatV(rtLogComOutput, NULL, pszFormat, args); 91 95 } 96 RT_EXPORT_SYMBOL(RTLogComPrintfV); 92 97 93 98 … … 134 139 } 135 140 } 141 RT_EXPORT_SYMBOL(RTLogWriteCom); 136 142 -
trunk/src/VBox/Runtime/common/log/logellipsis.cpp
r12099 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/asm.h> 36 39 #include <iprt/stdarg.h> … … 59 62 va_end(args); 60 63 } 64 RT_EXPORT_SYMBOL(RTLogLogger); 61 65 62 66 … … 83 87 va_end(args); 84 88 } 89 RT_EXPORT_SYMBOL(RTLogLoggerEx); 85 90 86 91 … … 100 105 va_end(args); 101 106 } 107 RT_EXPORT_SYMBOL(RTLogPrintf); 102 108 -
trunk/src/VBox/Runtime/common/log/logformat.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/string.h> 37 39 #include <iprt/assert.h> … … 69 71 return RTStrFormatV(pfnOutput, pvArg, rtlogFormatStr, NULL, pszFormat, args); 70 72 } 73 RT_EXPORT_SYMBOL(RTLogFormatV); 71 74 72 75 -
trunk/src/VBox/Runtime/common/log/logrel.cpp
r13832 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 37 36 38 #ifndef IN_RC 37 39 # include <iprt/alloc.h> … … 86 88 #endif /* !IN_RC */ 87 89 } 90 RT_EXPORT_SYMBOL(RTLogRelDefaultInstance); 88 91 89 92 … … 99 102 return (PRTLOGGER)ASMAtomicXchgPtr((void * volatile *)&g_pRelLogger, pLogger); 100 103 } 104 RT_EXPORT_SYMBOL(RTLogRelSetDefaultInstance); 101 105 #endif /* !IN_RC */ 102 106 … … 129 133 RTLogLoggerExV(pLogger, fFlags, iGroup, pszFormat, args); 130 134 } 135 RT_EXPORT_SYMBOL(RTLogRelLoggerV); 131 136 132 137 … … 143 148 RTLogRelLoggerV(NULL, 0, ~0U, pszFormat, args); 144 149 } 150 RT_EXPORT_SYMBOL(RTLogRelPrintfV); 145 151 -
trunk/src/VBox/Runtime/common/log/logrelellipsis.cpp
r12099 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/log.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/stdarg.h> 36 39 … … 58 61 va_end(args); 59 62 } 63 RT_EXPORT_SYMBOL(RTLogRelLogger); 60 64 61 65 … … 75 79 va_end(args); 76 80 } 81 RT_EXPORT_SYMBOL(RTLogRelPrintf); 77 82 -
trunk/src/VBox/Runtime/common/misc/RTAssertMsg1Weak.cpp
r14500 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/assert.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/stdarg.h> 37 39 … … 41 43 RTAssertMsg1(pszExpr, uLine, pszFile, pszFunction); 42 44 } 45 RT_EXPORT_SYMBOL(AssertMsg1); 43 46 -
trunk/src/VBox/Runtime/common/misc/RTAssertMsg2.cpp
r14500 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/assert.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/stdarg.h> 37 39 … … 44 46 va_end(va); 45 47 } 48 RT_EXPORT_SYMBOL(RTAssertMsg2); 46 49 -
trunk/src/VBox/Runtime/common/misc/RTAssertMsg2Weak.cpp
r14500 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/assert.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/stdarg.h> 37 39 … … 44 46 va_end(va); 45 47 } 48 RT_EXPORT_SYMBOL(AssertMsg2); 46 49 -
trunk/src/VBox/Runtime/common/misc/assert.cpp
r17410 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/assert.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/log.h> 37 39 #include <iprt/string.h> … … 42 44 43 45 44 #if defined(IN_GUEST_R0) && (defined(RT_OS_LINUX) || defined(RT_OS_WINDOWS)) 46 #if defined(IN_GUEST_R0) \ 47 && ( (defined(RT_OS_LINUX) && !defined(VBOX_WITH_COMMON_VBOXGUEST_ON_LINUX)) \ 48 || defined(RT_OS_WINDOWS)) 45 49 /* 46 50 * This is legacy that should be eliminated. OS specific code deals with … … 67 71 pszExpr, pszFile, uLine, pszFunction); 68 72 } 73 RT_EXPORT_SYMBOL(AssertMsg1); 69 74 70 75 … … 83 88 va_end(args); 84 89 } 85 86 # if defined(RT_OS_LINUX) && defined(IN_MODULE) 87 /* 88 * When we build this in the Linux kernel module, we wish to make the 89 * symbols available to other modules as well. 90 */ 91 # include "the-linux-kernel.h" 92 EXPORT_SYMBOL(AssertMsg1); 93 EXPORT_SYMBOL(AssertMsg2); 94 # endif 90 RT_EXPORT_SYMBOL(AssertMsg2); 95 91 96 92 #elif defined(IN_RING0) -
trunk/src/VBox/Runtime/common/misc/cache.cpp
r10848 r21337 33 33 * Header Files * 34 34 *******************************************************************************/ 35 #include <iprt/cache.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/cdefs.h> … … 39 41 #include <iprt/spinlock.h> 40 42 #include <iprt/mem.h> 41 #include <iprt/cache.h>42 43 #include <iprt/asm.h> 43 44 44 45 #include "internal/magics.h" 46 45 47 46 48 /** … … 135 137 return rc; 136 138 } 139 RT_EXPORT_SYMBOL(RTCacheCreate); 140 137 141 138 142 /** … … 178 182 return VINF_SUCCESS; 179 183 } 184 RT_EXPORT_SYMBOL(RTCacheDestroy); 185 180 186 181 187 /** … … 245 251 return VINF_SUCCESS; 246 252 } 253 RT_EXPORT_SYMBOL(RTCacheRequest); 254 247 255 248 256 /** … … 289 297 return rc; 290 298 } 291 299 RT_EXPORT_SYMBOL(RTCacheInsert); 300 -
trunk/src/VBox/Runtime/common/misc/cidr.cpp
r8359 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/cidr.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/ctype.h> 36 39 #include <iprt/string.h> … … 73 76 74 77 75 intRTCidrStrToIPv4(const char *pszAddress, PRTIPV4ADDR pNetwork, PRTIPV4ADDR pNetmask)78 RTDECL(int) RTCidrStrToIPv4(const char *pszAddress, PRTIPV4ADDR pNetwork, PRTIPV4ADDR pNetmask) 76 79 { 77 80 uint8_t cBits; … … 135 138 return VINF_SUCCESS; 136 139 } 140 RT_EXPORT_SYMBOL(RTCidrStrToIPv4); 141 -
trunk/src/VBox/Runtime/common/misc/getopt.cpp
r20809 r21337 32 32 * Header Files * 33 33 *******************************************************************************/ 34 #include <iprt/net.h> 34 #include <iprt/net.h> /* must come before getopt.h */ 35 35 #include <iprt/getopt.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/err.h> 37 39 #include <iprt/string.h> … … 69 71 return VINF_SUCCESS; 70 72 } 73 RT_EXPORT_SYMBOL(RTGetOptInit); 71 74 72 75 … … 496 499 return VINF_GETOPT_NOT_OPTION; 497 500 } 498 501 RT_EXPORT_SYMBOL(RTGetOpt); 502 -
trunk/src/VBox/Runtime/common/misc/handletable.cpp
r19865 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/handletable.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/mem.h> 36 39 #include <iprt/spinlock.h> … … 115 118 return VINF_SUCCESS; 116 119 } 120 RT_EXPORT_SYMBOL(RTHandleTableCreateEx); 117 121 118 122 … … 121 125 return RTHandleTableCreateEx(phHandleTable, RTHANDLETABLE_FLAGS_LOCKED, 1, 65534, NULL, NULL); 122 126 } 127 RT_EXPORT_SYMBOL(RTHandleTableCreate); 123 128 124 129 … … 215 220 return VINF_SUCCESS; 216 221 } 217 222 RT_EXPORT_SYMBOL(RTHandleTableDestroy); 223 -
trunk/src/VBox/Runtime/common/misc/handletablectx.cpp
r19865 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/handletable.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/mem.h> 36 39 #include <iprt/spinlock.h> … … 216 219 return rc; 217 220 } 221 RT_EXPORT_SYMBOL(RTHandleTableAllocWithCtx); 218 222 219 223 … … 259 263 return pvObj; 260 264 } 265 RT_EXPORT_SYMBOL(RTHandleTableLookupWithCtx); 261 266 262 267 … … 330 335 return pvObj; 331 336 } 332 337 RT_EXPORT_SYMBOL(RTHandleTableFreeWithCtx); 338 -
trunk/src/VBox/Runtime/common/misc/handletablesimple.cpp
r10790 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/handletable.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/mem.h> 36 39 #include <iprt/spinlock.h> … … 200 203 return rc; 201 204 } 205 RT_EXPORT_SYMBOL(RTHandleTableAlloc); 202 206 203 207 … … 240 244 return pvObj; 241 245 } 246 RT_EXPORT_SYMBOL(RTHandleTableLookup); 242 247 243 248 … … 303 308 return pvObj; 304 309 } 305 310 RT_EXPORT_SYMBOL(RTHandleTableFree); 311 -
trunk/src/VBox/Runtime/common/misc/once.cpp
r19896 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/once.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/semaphore.h> 36 39 #include <iprt/thread.h> … … 159 162 return ASMAtomicUoReadS32(&pOnce->rc); 160 163 } 164 RT_EXPORT_SYMBOL(RTOnce); 161 165 162 166 … … 172 176 ASMAtomicWriteS32(&pOnce->iState, -1); 173 177 } 178 RT_EXPORT_SYMBOL(RTOnceReset); 174 179 -
trunk/src/VBox/Runtime/common/misc/req.cpp
r14012 r21337 33 33 * Header Files * 34 34 *******************************************************************************/ 35 #include <iprt/req.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/assert.h> … … 40 42 #include <iprt/semaphore.h> 41 43 #include <iprt/thread.h> 42 #include <iprt/req.h>43 44 #include <iprt/log.h> 44 45 #include <iprt/mem.h> … … 70 71 return rc; 71 72 } 73 RT_EXPORT_SYMBOL(RTReqCreateQueue); 72 74 73 75 … … 92 94 return VINF_SUCCESS; 93 95 } 96 RT_EXPORT_SYMBOL(RTReqDestroyQueue); 94 97 95 98 /** … … 176 179 return rc; 177 180 } 181 RT_EXPORT_SYMBOL(RTReqProcess); 178 182 179 183 /** … … 208 212 return rc; 209 213 } 214 RT_EXPORT_SYMBOL(RTReqCall); 210 215 211 216 … … 241 246 return rc; 242 247 } 248 RT_EXPORT_SYMBOL(RTReqCallVoid); 243 249 244 250 … … 276 282 return rc; 277 283 } 284 RT_EXPORT_SYMBOL(RTReqCallEx); 278 285 279 286 … … 363 370 return rc; 364 371 } 372 RT_EXPORT_SYMBOL(RTReqCallV); 365 373 366 374 … … 432 440 RTDECL(int) RTReqAlloc(PRTREQQUEUE pQueue, PRTREQ *ppReq, RTREQTYPE enmType) 433 441 { 442 RT_EXPORT_SYMBOL(RTReqAlloc); 434 443 /* 435 444 * Validate input. … … 609 618 return VINF_SUCCESS; 610 619 } 620 RT_EXPORT_SYMBOL(RTReqFree); 611 621 612 622 … … 682 692 return rc; 683 693 } 694 RT_EXPORT_SYMBOL(RTReqQueue); 684 695 685 696 … … 745 756 return rc; 746 757 } 758 RT_EXPORT_SYMBOL(RTReqWait); 747 759 748 760 … … 890 902 } 891 903 892 893 894 -
trunk/src/VBox/Runtime/common/misc/s3.cpp
r20293 r21337 1 1 /* $Id$ */ 2 2 /** @file 3 * S3 communication API.3 * IPRT - S3 communication API. 4 4 */ 5 5 … … 33 33 * Header Files * 34 34 *******************************************************************************/ 35 #include "iprt/s3.h" 35 #include <iprt/s3.h> 36 #include "internal/iprt.h" 36 37 37 38 #include <iprt/err.h> … … 48 49 #include "internal/magics.h" 49 50 51 52 /******************************************************************************* 53 * Structures and Typedefs * 54 *******************************************************************************/ 50 55 typedef struct RTS3INTERNAL 51 56 { … … 71 76 typedef RTS3TMPMEMCHUNK *PRTS3TMPMEMCHUNK; 72 77 78 73 79 /******************************************************************************* 74 80 * Defined Constants And Macros * … … 91 97 AssertReturnVoid((hS3)->u32Magic == RTS3_MAGIC); \ 92 98 } while (0) 99 93 100 94 101 /******************************************************************************* -
trunk/src/VBox/Runtime/common/misc/semspingpong.cpp
r14057 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/semaphore.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/thread.h> 37 39 #include <iprt/asm.h> … … 69 71 * @param pPP Pointer to the ping-pong structure which needs initialization. 70 72 */ 71 RT R3DECL(int) RTSemPingPongInit(PRTPINGPONG pPP)73 RTDECL(int) RTSemPingPongInit(PRTPINGPONG pPP) 72 74 { 73 75 /* … … 87 89 return rc; 88 90 } 91 RT_EXPORT_SYMBOL(RTSemPingPongInit); 89 92 90 93 … … 96 99 * (I.e. put into uninitialized state.) 97 100 */ 98 RT R3DECL(int) RTSemPingPongDelete(PRTPINGPONG pPP)101 RTDECL(int) RTSemPingPongDelete(PRTPINGPONG pPP) 99 102 { 100 103 /* … … 117 120 return VINF_SUCCESS; 118 121 } 122 RT_EXPORT_SYMBOL(RTSemPingPongDelete); 119 123 120 124 … … 126 130 * @param pPP Pointer to the ping-pong structure to ping. 127 131 */ 128 RT R3DECL(int) RTSemPing(PRTPINGPONG pPP)132 RTDECL(int) RTSemPing(PRTPINGPONG pPP) 129 133 { 130 134 /* … … 149 153 return rc; 150 154 } 155 RT_EXPORT_SYMBOL(RTSemPing); 151 156 152 157 … … 158 163 * @param pPP Pointer to the ping-pong structure to pong. 159 164 */ 160 RT R3DECL(int) RTSemPong(PRTPINGPONG pPP)165 RTDECL(int) RTSemPong(PRTPINGPONG pPP) 161 166 { 162 167 /* … … 181 186 return rc; 182 187 } 188 RT_EXPORT_SYMBOL(RTSemPong); 183 189 184 190 … … 191 197 * @param cMillies Number of milliseconds to wait. 192 198 */ 193 RT R3DECL(int) RTSemPingWait(PRTPINGPONG pPP, unsigned cMillies)199 RTDECL(int) RTSemPingWait(PRTPINGPONG pPP, unsigned cMillies) 194 200 { 195 201 /* … … 213 219 return rc; 214 220 } 221 RT_EXPORT_SYMBOL(RTSemPingWait); 215 222 216 223 … … 223 230 * @param cMillies Number of milliseconds to wait. 224 231 */ 225 RT R3DECL(int) RTSemPongWait(PRTPINGPONG pPP, unsigned cMillies)232 RTDECL(int) RTSemPongWait(PRTPINGPONG pPP, unsigned cMillies) 226 233 { 227 234 /* … … 245 252 return rc; 246 253 } 247 254 RT_EXPORT_SYMBOL(RTSemPongWait); 255 -
trunk/src/VBox/Runtime/common/misc/term.cpp
r19898 r21337 33 33 *******************************************************************************/ 34 34 #include <iprt/initterm.h> 35 #include "internal/iprt.h" 36 35 37 #include <iprt/asm.h> 36 38 #include <iprt/assert.h> … … 143 145 return rc; 144 146 } 147 RT_EXPORT_SYMBOL(RTTermRegisterCallback); 145 148 146 149 … … 192 195 return rc; 193 196 } 197 RT_EXPORT_SYMBOL(RTTermDeregisterCallback); 194 198 195 199 … … 240 244 RTOnceReset(&g_InitTermCallbacksOnce); /* for the testcase */ 241 245 } 242 246 RT_EXPORT_SYMBOL(RTTermRunCallbacks); 247 -
trunk/src/VBox/Runtime/common/misc/thread.cpp
r20273 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * … … 36 35 #define LOG_GROUP RTLOGGROUP_THREAD 37 36 #include <iprt/thread.h> 37 #include "internal/iprt.h" 38 38 39 #include <iprt/log.h> 39 40 #include <iprt/avl.h> … … 305 306 return rc; 306 307 } 308 RT_EXPORT_SYMBOL(RTThreadAdopt); 307 309 308 310 … … 728 730 return rc; 729 731 } 732 RT_EXPORT_SYMBOL(RTThreadCreate); 730 733 731 734 … … 752 755 return RTThreadCreate(pThread, pfnThread, pvUser, cbStack, enmType, fFlags, szName); 753 756 } 757 RT_EXPORT_SYMBOL(RTThreadCreateV); 754 758 755 759 … … 778 782 return rc; 779 783 } 784 RT_EXPORT_SYMBOL(RTThreadCreateF); 780 785 781 786 … … 797 802 return NIL_RTNATIVETHREAD; 798 803 } 804 RT_EXPORT_SYMBOL(RTThreadGetNative); 799 805 800 806 … … 813 819 return NIL_RTTHREAD; 814 820 } 821 RT_EXPORT_SYMBOL(RTThreadFromNative); 815 822 816 823 … … 836 843 return NULL; 837 844 } 845 RT_EXPORT_SYMBOL(RTThreadSelfName); 838 846 839 847 … … 858 866 return NULL; 859 867 } 868 RT_EXPORT_SYMBOL(RTThreadGetName); 860 869 861 870 … … 890 899 return VINF_SUCCESS; 891 900 } 901 RT_EXPORT_SYMBOL(RTThreadSetName); 892 902 893 903 … … 910 920 return rc; 911 921 } 922 RT_EXPORT_SYMBOL(RTThreadUserSignal); 912 923 913 924 … … 933 944 return rc; 934 945 } 946 RT_EXPORT_SYMBOL(RTThreadUserWait); 935 947 936 948 … … 956 968 return rc; 957 969 } 970 RT_EXPORT_SYMBOL(RTThreadUserWaitNoResume); 958 971 959 972 … … 977 990 return rc; 978 991 } 992 RT_EXPORT_SYMBOL(RTThreadUserReset); 979 993 980 994 … … 1045 1059 return rc; 1046 1060 } 1061 RT_EXPORT_SYMBOL(RTThreadWait); 1047 1062 1048 1063 … … 1060 1075 return rtThreadWait(Thread, cMillies, prc, false); 1061 1076 } 1077 RT_EXPORT_SYMBOL(RTThreadWaitNoResume); 1062 1078 1063 1079 … … 1109 1125 return rc; 1110 1126 } 1127 RT_EXPORT_SYMBOL(RTThreadSetType); 1111 1128 1112 1129 … … 1129 1146 return enmType; 1130 1147 } 1148 RT_EXPORT_SYMBOL(RTThreadGetType); 1131 1149 1132 1150 … … 1157 1175 return cWriteLocks; 1158 1176 } 1177 RT_EXPORT_SYMBOL(RTThreadGetWriteLockCount); 1159 1178 1160 1179 … … 1171 1190 rtThreadRelease(pThread); 1172 1191 } 1192 RT_EXPORT_SYMBOL(RTThreadWriteLockInc); 1173 1193 1174 1194 … … 1185 1205 rtThreadRelease(pThread); 1186 1206 } 1207 RT_EXPORT_SYMBOL(RTThreadWriteLockDec); 1187 1208 1188 1209 … … 1210 1231 return cReadLocks; 1211 1232 } 1233 RT_EXPORT_SYMBOL(RTThreadGetReadLockCount); 1212 1234 1213 1235 … … 1224 1246 rtThreadRelease(pThread); 1225 1247 } 1248 RT_EXPORT_SYMBOL(RTThreadReadLockInc); 1226 1249 1227 1250 … … 1238 1261 rtThreadRelease(pThread); 1239 1262 } 1263 RT_EXPORT_SYMBOL(RTThreadReadLockDec); 1240 1264 1241 1265 … … 1506 1530 } 1507 1531 } 1532 RT_EXPORT_SYMBOL(RTThreadBlocking); 1508 1533 1509 1534 … … 1522 1547 ASMAtomicWriteSize(&hThread->enmState, RTTHREADSTATE_RUNNING); 1523 1548 } 1549 RT_EXPORT_SYMBOL(RTThreadUnblocked); 1524 1550 1525 1551 #endif /* IN_RING3 */ -
trunk/src/VBox/Runtime/common/misc/zip.cpp
r19863 r21337 54 54 55 55 #include <iprt/zip.h> 56 #include "internal/iprt.h" 57 56 58 #include <iprt/alloc.h> 57 59 #include <iprt/assert.h> … … 1343 1345 return rc; 1344 1346 } 1347 RT_EXPORT_SYMBOL(RTZipCompCreate); 1345 1348 1346 1349 … … 1359 1362 return pZip->pfnCompress(pZip, pvBuf, cbBuf); 1360 1363 } 1364 RT_EXPORT_SYMBOL(RTZipCompress); 1361 1365 1362 1366 … … 1372 1376 return pZip->pfnFinish(pZip); 1373 1377 } 1378 RT_EXPORT_SYMBOL(RTZipCompFinish); 1374 1379 1375 1380 … … 1395 1400 return VINF_SUCCESS; 1396 1401 } 1402 RT_EXPORT_SYMBOL(RTZipCompDestroy); 1397 1403 1398 1404 … … 1453 1459 return VINF_SUCCESS; 1454 1460 } 1461 RT_EXPORT_SYMBOL(RTZipDecompCreate); 1455 1462 1456 1463 … … 1564 1571 return pZip->pfnDecompress(pZip, pvBuf, cbBuf, pcbWritten); 1565 1572 } 1573 RT_EXPORT_SYMBOL(RTZipDecompress); 1574 1566 1575 1567 1576 /** … … 1586 1595 return rc; 1587 1596 } 1588 1589 1597 RT_EXPORT_SYMBOL(RTZipDecompDestroy); 1598 -
trunk/src/VBox/Runtime/common/rand/rand.cpp
r11557 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/rand.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/time.h> 37 39 #include <iprt/asm.h> … … 85 87 RTRandAdvBytes(g_hRand, pv, cb); 86 88 } 89 RT_EXPORT_SYMBOL(RTRandBytes); 87 90 88 91 … … 92 95 return RTRandAdvU32Ex(g_hRand, u32First, u32Last); 93 96 } 97 RT_EXPORT_SYMBOL(RTRandU32Ex); 94 98 95 99 … … 99 103 return RTRandAdvU32(g_hRand); 100 104 } 105 RT_EXPORT_SYMBOL(RTRandU32); 101 106 102 107 … … 106 111 return RTRandAdvS32Ex(g_hRand, i32First, i32Last); 107 112 } 113 RT_EXPORT_SYMBOL(RTRandS32Ex); 108 114 109 115 … … 113 119 return RTRandAdvS32(g_hRand); 114 120 } 121 RT_EXPORT_SYMBOL(RTRandS32); 115 122 116 123 … … 120 127 return RTRandAdvU64Ex(g_hRand, u64First, u64Last); 121 128 } 129 RT_EXPORT_SYMBOL(RTRandU64Ex); 122 130 123 131 … … 127 135 return RTRandAdvU64(g_hRand); 128 136 } 137 RT_EXPORT_SYMBOL(RTRandU64); 129 138 130 139 … … 134 143 return RTRandAdvS64Ex(g_hRand, i64First, i64Last); 135 144 } 145 RT_EXPORT_SYMBOL(RTRandS64Ex); 136 146 137 147 … … 141 151 return RTRandAdvS32(g_hRand); 142 152 } 153 RT_EXPORT_SYMBOL(RTRandS64); 143 154 -
trunk/src/VBox/Runtime/common/rand/randadv.cpp
r20256 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/rand.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/mem.h> 37 39 #include <iprt/err.h> … … 53 55 return pThis->pfnDestroy(pThis); 54 56 } 57 RT_EXPORT_SYMBOL(RTRandAdvDestroy); 55 58 56 59 … … 65 68 return pThis->pfnSeed(pThis, u64Seed); 66 69 } 70 RT_EXPORT_SYMBOL(RTRandAdvSeed); 67 71 68 72 … … 79 83 return pThis->pfnSaveState(pThis, pszState, pcbState); 80 84 } 85 RT_EXPORT_SYMBOL(RTRandAdvSaveState); 81 86 82 87 … … 92 97 return pThis->pfnRestoreState(pThis, pszState); 93 98 } 99 RT_EXPORT_SYMBOL(RTRandAdvRestoreState); 94 100 95 101 … … 105 111 return pThis->pfnGetBytes(pThis, (uint8_t *)pv, cb); 106 112 } 113 RT_EXPORT_SYMBOL(RTRandAdvBytes); 107 114 108 115 … … 117 124 return pThis->pfnGetU32(pThis, 0, i32Last - i32First) + i32First; 118 125 } 126 RT_EXPORT_SYMBOL(RTRandAdvS32Ex); 119 127 120 128 … … 129 137 return pThis->pfnGetU32(pThis, 0, UINT32_MAX) + INT32_MAX; 130 138 } 139 RT_EXPORT_SYMBOL(RTRandAdvS32); 131 140 132 141 … … 141 150 return pThis->pfnGetU32(pThis, u32First, u32Last); 142 151 } 152 RT_EXPORT_SYMBOL(RTRandAdvU32Ex); 143 153 144 154 … … 153 163 return pThis->pfnGetU32(pThis, 0, UINT32_MAX); 154 164 } 165 RT_EXPORT_SYMBOL(RTRandAdvU32); 155 166 156 167 … … 165 176 return pThis->pfnGetU64(pThis, 0, i64Last - i64First) + i64First; 166 177 } 178 RT_EXPORT_SYMBOL(RTRandAdvS64Ex); 167 179 168 180 … … 177 189 return pThis->pfnGetU64(pThis, 0, UINT64_MAX) + INT64_MAX; 178 190 } 191 RT_EXPORT_SYMBOL(RTRandAdvS64); 179 192 180 193 … … 189 202 return pThis->pfnGetU64(pThis, u64First, u64Last); 190 203 } 204 RT_EXPORT_SYMBOL(RTRandAdvU64Ex); 191 205 192 206 … … 201 215 return pThis->pfnGetU64(pThis, 0, UINT64_MAX); 202 216 } 217 RT_EXPORT_SYMBOL(RTRandAdvU64); 203 218 204 219 … … 402 417 } 403 418 404 -
trunk/src/VBox/Runtime/common/rand/randparkmiller.cpp
r20256 r21337 33 33 *******************************************************************************/ 34 34 #include <iprt/rand.h> 35 #include "internal/iprt.h" 36 35 37 #include <iprt/asm.h> 36 38 #include <iprt/mem.h> … … 208 210 return VINF_SUCCESS; 209 211 } 210 212 RT_EXPORT_SYMBOL(RTRandAdvCreateParkMiller); 213 -
trunk/src/VBox/Runtime/common/string/RTStrNLen.cpp
r10949 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 35 37 36 38 … … 40 42 return pchEnd ? pchEnd - pszString : cchMax; 41 43 } 44 RT_EXPORT_SYMBOL(RTStrNLen); 42 45 -
trunk/src/VBox/Runtime/common/string/RTStrNLenEx.cpp
r10949 r21337 33 33 *******************************************************************************/ 34 34 #include <iprt/string.h> 35 #include "internal/iprt.h" 35 36 36 37 … … 46 47 return VINF_SUCCESS; 47 48 } 49 RT_EXPORT_SYMBOL(RTStrNLenEx); 48 50 -
trunk/src/VBox/Runtime/common/string/base64.cpp
r16774 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/base64.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/assert.h> 36 39 #include <iprt/err.h> … … 216 219 return cb; 217 220 } 221 RT_EXPORT_SYMBOL(RTBase64DecodedSize); 218 222 219 223 … … 399 403 return VINF_SUCCESS; 400 404 } 405 RT_EXPORT_SYMBOL(RTBase64Decode); 401 406 402 407 … … 436 441 return cch; 437 442 } 443 RT_EXPORT_SYMBOL(RTBase64EncodedLength); 438 444 439 445 … … 534 540 return VINF_SUCCESS; 535 541 } 536 542 RT_EXPORT_SYMBOL(RTBase64Encode); 543 -
trunk/src/VBox/Runtime/common/string/simplepattern.cpp
r13549 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 … … 90 92 #endif 91 93 } 94 RT_EXPORT_SYMBOL(RTStrSimplePatternMatch); 92 95 93 96 … … 153 156 } 154 157 } 158 RT_EXPORT_SYMBOL(RTStrSimplePatternNMatch); 155 159 156 160 … … 191 195 return false; 192 196 } 197 RT_EXPORT_SYMBOL(RTStrSimplePatternMultiMatch); 193 198 194 -
trunk/src/VBox/Runtime/common/string/straprintf.cpp
r8245 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/assert.h> 36 39 #include <iprt/alloc.h> … … 178 181 return cbRet; 179 182 } 183 RT_EXPORT_SYMBOL(RTStrAPrintfV); 180 184 181 185 … … 188 192 return cbRet; 189 193 } 194 RT_EXPORT_SYMBOL(RTStrAPrintf); 190 195 -
trunk/src/VBox/Runtime/common/string/strformat.cpp
r19942 r21337 43 43 #define LOG_GROUP RTLOGGROUP_STRING 44 44 #include <iprt/string.h> 45 #include "internal/iprt.h" 46 45 47 #include <iprt/assert.h> 46 48 #ifdef IN_RING3 … … 154 156 return rtStrFormatNumber(psz, *(KSIZE64 *)(void *)&u64Value, uiBase, cchWidth, cchPrecision, fFlags); 155 157 } 158 RT_EXPORT_SYMBOL(RTStrFormatNumber); 156 159 157 160 … … 185 188 if (fFlags & RTSTR_F_LEFT) 186 189 fFlags &= ~RTSTR_F_ZEROPAD; 187 if ( (fFlags & RTSTR_F_THOUSAND_SEP) 188 && ( uiBase != 10 190 if ( (fFlags & RTSTR_F_THOUSAND_SEP) 191 && ( uiBase != 10 189 192 || (fFlags & RTSTR_F_ZEROPAD))) /** @todo implement RTSTR_F_ZEROPAD + RTSTR_F_THOUSAND_SEP. */ 190 193 fFlags &= ~RTSTR_F_THOUSAND_SEP; … … 285 288 uint64_t u64 = *(uint64_t *)(void *)&ullValue; 286 289 if (fFlags & RTSTR_F_THOUSAND_SEP) 287 { 290 { 288 291 do 289 292 { … … 295 298 } 296 299 else 297 { 300 { 298 301 do 299 302 { … … 884 887 return cch; 885 888 } 889 RT_EXPORT_SYMBOL(RTStrFormatV); 886 890 887 891 … … 910 914 return cch; 911 915 } 912 916 RT_EXPORT_SYMBOL(RTStrFormat); 917 -
trunk/src/VBox/Runtime/common/string/strformatrt.cpp
r21315 r21337 142 142 *******************************************************************************/ 143 143 #define LOG_GROUP RTLOGGROUP_STRING 144 #include <iprt/string.h> 145 #include "internal/iprt.h" 146 144 147 #include <iprt/log.h> 145 #include <iprt/string.h>146 148 #include <iprt/assert.h> 147 149 #include <iprt/string.h> -
trunk/src/VBox/Runtime/common/string/strformattype.cpp
r17522 r21337 35 35 #define LOG_GROUP RTLOGGROUP_STRING 36 36 #include <iprt/string.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/assert.h> 38 40 #include <iprt/stdarg.h> … … 314 316 return rc; 315 317 } 318 RT_EXPORT_SYMBOL(RTStrFormatTypeRegister); 316 319 317 320 … … 358 361 : VERR_FILE_NOT_FOUND; /** @todo fix status code */ 359 362 } 363 RT_EXPORT_SYMBOL(RTStrFormatTypeDeregister); 360 364 361 365 … … 397 401 : VERR_FILE_NOT_FOUND; /** @todo fix status code */ 398 402 } 403 RT_EXPORT_SYMBOL(RTStrFormatTypeSetUser); 399 404 400 405 -
trunk/src/VBox/Runtime/common/string/string.cpp
r19384 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/alloc.h> 37 39 #include <iprt/assert.h> … … 52 54 RTMemTmpFree(pszString); 53 55 } 56 RT_EXPORT_SYMBOL(RTStrFree); 54 57 55 58 … … 69 72 return psz; 70 73 } 74 RT_EXPORT_SYMBOL(RTStrDup); 71 75 72 76 … … 94 98 return VERR_NO_MEMORY; 95 99 } 100 RT_EXPORT_SYMBOL(RTStrDupEx); 96 101 -
trunk/src/VBox/Runtime/common/string/strprintf.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 … … 97 99 return RTStrFormatV(strbufoutput, &Arg, pfnFormat, pvArg, pszFormat, args); 98 100 } 101 RT_EXPORT_SYMBOL(RTStrPrintfExV); 99 102 100 103 … … 103 106 return RTStrPrintfExV(NULL, NULL, pszBuffer, cchBuffer, pszFormat, args); 104 107 } 108 RT_EXPORT_SYMBOL(RTStrPrintfV); 109 105 110 106 111 RTDECL(size_t) RTStrPrintfEx(PFNSTRFORMAT pfnFormat, void *pvArg, char *pszBuffer, size_t cchBuffer, const char *pszFormat, ...) … … 113 118 return cbRet; 114 119 } 120 RT_EXPORT_SYMBOL(RTStrPrintfEx); 121 115 122 116 123 RTDECL(size_t) RTStrPrintf(char *pszBuffer, size_t cchBuffer, const char *pszFormat, ...) … … 123 130 return cbRet; 124 131 } 132 RT_EXPORT_SYMBOL(RTStrPrintf); 125 133 -
trunk/src/VBox/Runtime/common/string/strspace.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 … … 124 126 return false; 125 127 } 128 RT_EXPORT_SYMBOL(RTStrSpaceInsert); 126 129 127 130 … … 172 175 return pCur; 173 176 } 177 RT_EXPORT_SYMBOL(RTStrSpaceRemove); 174 178 175 179 … … 197 201 return NULL; 198 202 } 203 RT_EXPORT_SYMBOL(RTStrSpaceGet); 199 204 200 205 … … 215 220 return KAVL_FN(DoWithAll)(pStrSpace, true, pfnCallback, pvUser); 216 221 } 222 RT_EXPORT_SYMBOL(RTStrSpaceEnumerate); 217 223 218 224 … … 232 238 return KAVL_FN(Destroy)(pStrSpace, pfnCallback, pvUser); 233 239 } 234 240 RT_EXPORT_SYMBOL(RTStrSpaceDestroy); 241 242 -
trunk/src/VBox/Runtime/common/string/strstrip.cpp
r8245 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/ctype.h> 36 39 #include <iprt/string.h> … … 56 59 return psz; 57 60 } 61 RT_EXPORT_SYMBOL(RTStrStrip); 58 62 59 63 … … 72 76 return (char *)psz; 73 77 } 78 RT_EXPORT_SYMBOL(RTStrStripL); 74 79 75 80 … … 89 94 return psz; 90 95 } 96 RT_EXPORT_SYMBOL(RTStrStripR); 91 97 -
trunk/src/VBox/Runtime/common/string/strtonum.cpp
r8279 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/err.h> 37 39 … … 210 212 return rc; 211 213 } 214 RT_EXPORT_SYMBOL(RTStrToUInt64Ex); 212 215 213 216 … … 247 250 return rc; 248 251 } 252 RT_EXPORT_SYMBOL(RTStrToUInt64Full); 249 253 250 254 … … 265 269 return 0; 266 270 } 271 RT_EXPORT_SYMBOL(RTStrToUInt64); 267 272 268 273 … … 298 303 return rc; 299 304 } 305 RT_EXPORT_SYMBOL(RTStrToUInt32Ex); 300 306 301 307 … … 331 337 return rc; 332 338 } 339 RT_EXPORT_SYMBOL(RTStrToUInt32Full); 333 340 334 341 … … 349 356 return 0; 350 357 } 358 RT_EXPORT_SYMBOL(RTStrToUInt32); 351 359 352 360 … … 382 390 return rc; 383 391 } 392 RT_EXPORT_SYMBOL(RTStrToUInt16Ex); 384 393 385 394 … … 415 424 return rc; 416 425 } 426 RT_EXPORT_SYMBOL(RTStrToUInt16Full); 417 427 418 428 … … 433 443 return 0; 434 444 } 445 RT_EXPORT_SYMBOL(RTStrToUInt16); 435 446 436 447 … … 466 477 return rc; 467 478 } 479 RT_EXPORT_SYMBOL(RTStrToUInt8Ex); 468 480 469 481 … … 499 511 return rc; 500 512 } 513 RT_EXPORT_SYMBOL(RTStrToUInt8Full); 501 514 502 515 … … 517 530 return 0; 518 531 } 532 RT_EXPORT_SYMBOL(RTStrToUInt8); 519 533 520 534 … … 639 653 return rc; 640 654 } 655 RT_EXPORT_SYMBOL(RTStrToInt64Ex); 641 656 642 657 … … 675 690 return rc; 676 691 } 692 RT_EXPORT_SYMBOL(RTStrToInt64Full); 677 693 678 694 … … 693 709 return 0; 694 710 } 711 RT_EXPORT_SYMBOL(RTStrToInt64); 695 712 696 713 … … 726 743 return rc; 727 744 } 745 RT_EXPORT_SYMBOL(RTStrToInt32Ex); 728 746 729 747 … … 759 777 return rc; 760 778 } 779 RT_EXPORT_SYMBOL(RTStrToInt32Full); 761 780 762 781 … … 777 796 return 0; 778 797 } 798 RT_EXPORT_SYMBOL(RTStrToInt32); 779 799 780 800 … … 810 830 return rc; 811 831 } 832 RT_EXPORT_SYMBOL(RTStrToInt16Ex); 812 833 813 834 … … 843 864 return rc; 844 865 } 866 RT_EXPORT_SYMBOL(RTStrToInt16Full); 845 867 846 868 … … 861 883 return 0; 862 884 } 885 RT_EXPORT_SYMBOL(RTStrToInt16); 863 886 864 887 … … 894 917 return rc; 895 918 } 919 RT_EXPORT_SYMBOL(RTStrToInt8Ex); 896 920 897 921 … … 927 951 return rc; 928 952 } 953 RT_EXPORT_SYMBOL(RTStrToInt8Full); 929 954 930 955 … … 945 970 return 0; 946 971 } 947 972 RT_EXPORT_SYMBOL(RTStrToInt8); 973 -
trunk/src/VBox/Runtime/common/string/uni.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/uni.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/alloc.h> 37 39 … … 42 44 RTMemFree(pusz); 43 45 } 46 RT_EXPORT_SYMBOL(RTUniFree); 47 -
trunk/src/VBox/Runtime/common/string/utf-16.cpp
r8245 r21337 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - UTF-16 3 * IPRT - UTF-16. 4 4 */ 5 5 … … 34 34 *******************************************************************************/ 35 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/uni.h> 37 39 #include <iprt/alloc.h> … … 47 49 RTMemTmpFree(pwszString); 48 50 } 51 RT_EXPORT_SYMBOL(RTUtf16Free); 49 52 50 53 … … 58 61 return pwsz; 59 62 } 63 RT_EXPORT_SYMBOL(RTUtf16Dup); 60 64 61 65 … … 73 77 return VERR_NO_MEMORY; 74 78 } 79 RT_EXPORT_SYMBOL(RTUtf16DupEx); 75 80 76 81 … … 85 90 return pwsz - pwszString; 86 91 } 92 RT_EXPORT_SYMBOL(RTUtf16Len); 87 93 88 94 … … 106 112 } 107 113 } 114 RT_EXPORT_SYMBOL(RTUtf16Cmp); 108 115 109 116 … … 172 179 } 173 180 } 181 RT_EXPORT_SYMBOL(RTUtf16ICmp); 174 182 175 183 … … 209 217 return pwsz; 210 218 } 219 RT_EXPORT_SYMBOL(RTUtf16ToLower); 211 220 212 221 … … 242 251 return pwsz; 243 252 } 253 RT_EXPORT_SYMBOL(RTUtf16ToUpper); 244 254 245 255 … … 455 465 return rc; 456 466 } 467 RT_EXPORT_SYMBOL(RTUtf16ToUtf8); 457 468 458 469 … … 512 523 return rc; 513 524 } 525 RT_EXPORT_SYMBOL(RTUtf16ToUtf8Ex); 514 526 515 527 … … 520 532 return RT_SUCCESS(rc) ? cch : 0; 521 533 } 534 RT_EXPORT_SYMBOL(RTUtf16CalcUtf8Len); 522 535 523 536 … … 530 543 return rc; 531 544 } 545 RT_EXPORT_SYMBOL(RTUtf16CalcUtf8LenEx); 532 546 533 547 … … 560 574 return RTUNICP_INVALID; 561 575 } 576 RT_EXPORT_SYMBOL(RTUtf16GetCpInternal); 562 577 563 578 … … 604 619 return rc; 605 620 } 621 RT_EXPORT_SYMBOL(RTUtf16GetCpExInternal); 606 622 607 623 … … 631 647 return pwsz; 632 648 } 633 634 649 RT_EXPORT_SYMBOL(RTUtf16PutCpInternal); 650 -
trunk/src/VBox/Runtime/common/string/utf-8.cpp
r18570 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/string.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/uni.h> 37 39 #include <iprt/alloc.h> … … 282 284 return RT_SUCCESS(rc) ? cCodePoints : 0; 283 285 } 286 RT_EXPORT_SYMBOL(RTStrUniLen); 284 287 285 288 … … 292 295 return rc; 293 296 } 297 RT_EXPORT_SYMBOL(RTStrUniLenEx); 294 298 295 299 … … 298 302 return RTStrValidateEncodingEx(psz, RTSTR_MAX, 0); 299 303 } 304 RT_EXPORT_SYMBOL(RTStrValidateEncoding); 300 305 301 306 … … 322 327 return RTStrUniLenEx(psz, cch, &cCpsIgnored); 323 328 } 329 RT_EXPORT_SYMBOL(RTStrValidateEncodingEx); 324 330 325 331 … … 329 335 return RT_SUCCESS(rc); 330 336 } 337 RT_EXPORT_SYMBOL(RTStrIsValidEncoding); 331 338 332 339 … … 369 376 return rc; 370 377 } 378 RT_EXPORT_SYMBOL(RTStrToUni); 371 379 372 380 … … 428 436 return rc; 429 437 } 438 RT_EXPORT_SYMBOL(RTStrToUniEx); 430 439 431 440 … … 689 698 return rc; 690 699 } 700 RT_EXPORT_SYMBOL(RTStrToUtf16); 691 701 692 702 … … 748 758 return rc; 749 759 } 760 RT_EXPORT_SYMBOL(RTStrToUtf16Ex); 750 761 751 762 … … 756 767 return RT_SUCCESS(rc) ? cwc : 0; 757 768 } 769 RT_EXPORT_SYMBOL(RTStrCalcUtf16Len); 758 770 759 771 … … 766 778 return rc; 767 779 } 780 RT_EXPORT_SYMBOL(RTStrCalcUtf16LenEx); 768 781 769 782 … … 792 805 return Cp; 793 806 } 807 RT_EXPORT_SYMBOL(RTStrGetCpInternal); 794 808 795 809 … … 914 928 return VINF_SUCCESS; 915 929 } 930 RT_EXPORT_SYMBOL(RTStrGetCpExInternal); 916 931 917 932 … … 1069 1084 return VINF_SUCCESS; 1070 1085 } 1086 RT_EXPORT_SYMBOL(RTStrGetCpNExInternal); 1071 1087 1072 1088 … … 1129 1145 return (char *)puch; 1130 1146 } 1147 RT_EXPORT_SYMBOL(RTStrPutCpInternal); 1131 1148 1132 1149 … … 1161 1178 return (char *)pszStart; 1162 1179 } 1180 RT_EXPORT_SYMBOL(RTStrPrevCp); 1163 1181 1164 1182 … … 1187 1205 return strcmp(psz1, psz2); 1188 1206 } 1207 RT_EXPORT_SYMBOL(RTStrCmp); 1189 1208 1190 1209 … … 1215 1234 return strncmp(psz1, psz2, cchMax); 1216 1235 } 1236 RT_EXPORT_SYMBOL(RTStrNCmp); 1217 1237 1218 1238 … … 1289 1309 return RTStrCmp(psz1, psz2); 1290 1310 } 1311 RT_EXPORT_SYMBOL(RTStrICmp); 1291 1312 1292 1313 … … 1369 1390 return RTStrNCmp(psz1, psz2, cchMax); 1370 1391 } 1392 RT_EXPORT_SYMBOL(RTStrNICmp); 1371 1393 1372 1394 … … 1382 1404 return (char *)strstr(pszHaystack, pszNeedle); 1383 1405 } 1406 RT_EXPORT_SYMBOL(RTStrStr); 1384 1407 1385 1408 … … 1459 1482 return NULL; 1460 1483 } 1484 RT_EXPORT_SYMBOL(RTStrIStr); 1461 1485 1462 1486 … … 1479 1503 return psz; 1480 1504 } 1505 RT_EXPORT_SYMBOL(RTStrToLower); 1481 1506 1482 1507 … … 1499 1524 return psz; 1500 1525 } 1501 1526 RT_EXPORT_SYMBOL(RTStrToUpper); 1527 -
trunk/src/VBox/Runtime/common/time/time.cpp
r19546 r21337 35 35 #define LOG_GROUP RTLOGGROUP_TIME 36 36 #include <iprt/time.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/string.h> 38 40 #include <iprt/assert.h> … … 247 249 return rtTimeIsLeapYear(i32Year); 248 250 } 251 RT_EXPORT_SYMBOL(RTTimeIsLeapYear); 249 252 250 253 … … 352 355 return pTime; 353 356 } 357 RT_EXPORT_SYMBOL(RTTimeExplode); 354 358 355 359 … … 403 407 return pTimeSpec; 404 408 } 409 RT_EXPORT_SYMBOL(RTTimeImplode); 405 410 406 411 … … 653 658 return pTime; 654 659 } 660 RT_EXPORT_SYMBOL(RTTimeNormalize); 655 661 656 662 … … 702 708 return psz; 703 709 } 710 RT_EXPORT_SYMBOL(RTTimeToString); 704 711 705 712 … … 718 725 return RTTimeToString(RTTimeExplode(&Time, pTime), psz, cb); 719 726 } 720 727 RT_EXPORT_SYMBOL(RTTimeSpecToString); 728 -
trunk/src/VBox/Runtime/common/time/timeprog.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/time.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/assert.h> 37 39 #include "internal/time.h" … … 48 50 return RTTimeNanoTS() - g_u64ProgramStartNanoTS; 49 51 } 52 RT_EXPORT_SYMBOL(RTTimeProgramNanoTS); 50 53 51 54 … … 59 62 return RTTimeProgramNanoTS() / 1000; 60 63 } 64 RT_EXPORT_SYMBOL(RTTimeProgramMicroTS); 61 65 62 66 … … 70 74 return RTTimeMilliTS() - g_u64ProgramStartMilliTS; 71 75 } 76 RT_EXPORT_SYMBOL(RTTimeProgramMilliTS); 72 77 73 78 … … 82 87 return (uint32_t)(RTTimeProgramMilliTS() / 1000); 83 88 } 89 RT_EXPORT_SYMBOL(RTTimeProgramSecTS); 84 90 85 91 … … 93 99 return g_u64ProgramStartNanoTS; 94 100 } 101 RT_EXPORT_SYMBOL(RTTimeProgramStartNanoTS); 102 -
trunk/src/VBox/Runtime/common/time/timesup.cpp
r8245 r21337 35 35 #define LOG_GROUP RTLOGGROUP_TIME 36 36 #include <iprt/time.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/asm.h> 38 40 #include <iprt/assert.h> … … 191 193 return rtTimeNanoTSInternal(); 192 194 } 195 RT_EXPORT_SYMBOL(RTTimeNanoTS); 193 196 194 197 … … 202 205 return rtTimeNanoTSInternal() / 1000000; 203 206 } 207 RT_EXPORT_SYMBOL(RTTimeMilliTS); 204 208 205 209 … … 214 218 return g_TimeNanoTSData.c1nsSteps; 215 219 } 220 RT_EXPORT_SYMBOL(RTTimeDbgSteps); 216 221 217 222 … … 225 230 return g_TimeNanoTSData.cExpired; 226 231 } 232 RT_EXPORT_SYMBOL(RTTimeDbgExpired); 227 233 228 234 … … 236 242 return g_TimeNanoTSData.cBadPrev; 237 243 } 244 RT_EXPORT_SYMBOL(RTTimeDbgBad); 238 245 239 246 … … 247 254 return g_TimeNanoTSData.cUpdateRaces; 248 255 } 256 RT_EXPORT_SYMBOL(RTTimeDbgRaces); 249 257 #endif /* !IN_GUEST && !RT_NO_GIP */ 258 -
trunk/src/VBox/Runtime/common/time/timesupref.cpp
r13832 r21337 35 35 *******************************************************************************/ 36 36 #include <iprt/time.h> 37 #include "internal/iprt.h" 38 37 39 #include <iprt/asm.h> 38 40 #include <VBox/sup.h> … … 48 50 #define rtTimeNanoTSInternalRef RTTimeNanoTSLegacySync 49 51 #include "timesupref.h" 52 RT_EXPORT_SYMBOL(RTTimeNanoTSLegacySync); 50 53 51 54 #define ASYNC_GIP … … 56 59 #define rtTimeNanoTSInternalRef RTTimeNanoTSLegacyAsync 57 60 #include "timesupref.h" 61 RT_EXPORT_SYMBOL(RTTimeNanoTSLegacyAsync); 58 62 59 63 … … 68 72 #define rtTimeNanoTSInternalRef RTTimeNanoTSLFenceSync 69 73 #include "timesupref.h" 74 RT_EXPORT_SYMBOL(RTTimeNanoTSLFenceSync); 70 75 71 76 #define ASYNC_GIP … … 76 81 #define rtTimeNanoTSInternalRef RTTimeNanoTSLFenceAsync 77 82 #include "timesupref.h" 83 RT_EXPORT_SYMBOL(RTTimeNanoTSLFenceAsync); 78 84 79 85 80 86 #endif /* !IN_GUEST */ 87 -
trunk/src/VBox/Runtime/common/time/timesysalias.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/time.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 45 46 return RTTimeSystemNanoTS(); 46 47 } 48 RT_EXPORT_SYMBOL(RTTimeNanoTS); 47 49 48 50 … … 56 58 return RTTimeSystemMilliTS(); 57 59 } 60 RT_EXPORT_SYMBOL(RTTimeMilliTS); 58 61 -
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 -
trunk/src/VBox/Runtime/r0drv/alloc-r0drv.cpp
r14743 r21337 33 33 * Header Files * 34 34 *******************************************************************************/ 35 #include <iprt/mem.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/string.h> 36 #include <iprt/alloc.h>37 39 #include <iprt/assert.h> 38 40 #include <iprt/param.h> … … 84 86 return RTMemAlloc(cb); 85 87 } 88 RT_EXPORT_SYMBOL(RTMemTmpAlloc); 86 89 87 90 … … 99 102 return RTMemAllocZ(cb); 100 103 } 104 RT_EXPORT_SYMBOL(RTMemTmpAllocZ); 101 105 102 106 … … 110 114 return RTMemFree(pv); 111 115 } 116 RT_EXPORT_SYMBOL(RTMemTmpFree); 112 117 113 118 … … 132 137 return NULL; 133 138 } 139 RT_EXPORT_SYMBOL(RTMemAlloc); 134 140 135 141 … … 160 166 return NULL; 161 167 } 168 RT_EXPORT_SYMBOL(RTMemAllocZ); 162 169 163 170 … … 210 217 return NULL; 211 218 } 219 RT_EXPORT_SYMBOL(RTMemRealloc); 212 220 213 221 … … 240 248 AssertMsgFailed(("pHdr->u32Magic=%RX32 pv=%p\n", pHdr->u32Magic, pv)); 241 249 } 250 RT_EXPORT_SYMBOL(RTMemFree); 242 251 243 252 … … 262 271 return NULL; 263 272 } 273 RT_EXPORT_SYMBOL(RTMemExecAlloc); 264 274 265 275 … … 291 301 AssertMsgFailed(("pHdr->u32Magic=%RX32 pv=%p\n", pHdr->u32Magic, pv)); 292 302 } 293 303 RT_EXPORT_SYMBOL(RTMemExecFree); 304 -
trunk/src/VBox/Runtime/r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp
r15843 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 45 46 return false; 46 47 } 48 RT_EXPORT_SYMBOL(RTMpIsCpuWorkPending); 47 49 -
trunk/src/VBox/Runtime/r0drv/generic/RTMpOn-r0drv-generic.cpp
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/err.h> 37 39 … … 44 46 return VERR_NOT_SUPPORTED; 45 47 } 48 RT_EXPORT_SYMBOL(RTMpOnAll); 46 49 47 50 … … 53 56 return VERR_NOT_SUPPORTED; 54 57 } 58 RT_EXPORT_SYMBOL(RTMpOnOthers); 55 59 56 60 … … 63 67 return VERR_NOT_SUPPORTED; 64 68 } 69 RT_EXPORT_SYMBOL(RTMpOnSpecific); 65 70 -
trunk/src/VBox/Runtime/r0drv/generic/RTMpPokeCpu-r0drv-generic.cpp
r19389 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/mp.h> 36 #include "internal/iprt.h" 36 37 37 38 … … 48 49 return RTMpOnSpecific(idCpu, rtMpNtPokeCpuDummy, NULL, NULL); 49 50 } 51 RT_EXPORT_SYMBOL(RTMpPokeCpu); 50 52 -
trunk/src/VBox/Runtime/r0drv/generic/RTThreadPreemptDisable-r0drv-generic.cpp
r13254 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/thread.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/assert.h> 36 39 … … 42 45 pState->uchDummy = 42; 43 46 } 47 RT_EXPORT_SYMBOL(RTThreadPreemptDisable); 44 48 -
trunk/src/VBox/Runtime/r0drv/generic/RTThreadPreemptIsEnabled-r0drv-generic.cpp
r13254 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/thread.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/assert.h> 36 39 … … 41 44 return true; 42 45 } 46 RT_EXPORT_SYMBOL(RTThreadPreemptIsEnabled); 43 47 -
trunk/src/VBox/Runtime/r0drv/generic/RTThreadPreemptIsPending-r0drv-generic.cpp
r19918 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/thread.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/assert.h> 36 39 … … 41 44 return false; 42 45 } 46 RT_EXPORT_SYMBOL(RTThreadPreemptIsPending); 43 47 -
trunk/src/VBox/Runtime/r0drv/generic/RTThreadPreemptIsPendingTrusty-r0drv-generic.cpp
r20124 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/thread.h> 36 #include "internal/iprt.h" 35 37 36 38 … … 40 42 return false; 41 43 } 44 RT_EXPORT_SYMBOL(RTThreadPreemptIsPendingTrusty); 42 45 -
trunk/src/VBox/Runtime/r0drv/generic/RTThreadPreemptRestore-r0drv-generic.cpp
r13275 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/thread.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/assert.h> 36 39 … … 42 45 pState->uchDummy = 0; 43 46 } 47 RT_EXPORT_SYMBOL(RTThreadPreemptRestore); 44 48 -
trunk/src/VBox/Runtime/r0drv/generic/mpnotification-r0drv-generic.cpp
r9619 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" 37 35 38 #include <iprt/err.h> 36 39 #include "r0drv/mp-r0drv.h" … … 43 46 return VINF_SUCCESS; 44 47 } 48 RT_EXPORT_SYMBOL(RTMpNotificationRegister); 45 49 46 50 … … 51 55 return VINF_SUCCESS; 52 56 } 57 RT_EXPORT_SYMBOL(RTMpNotificationDeregister); 53 58 54 59 -
trunk/src/VBox/Runtime/r0drv/initterm-r0drv.cpp
r20909 r21337 34 34 *******************************************************************************/ 35 35 #include <iprt/initterm.h> 36 #include "internal/iprt.h" 37 36 38 #include <iprt/asm.h> 37 39 #include <iprt/assert.h> … … 96 98 return rc; 97 99 } 100 RT_EXPORT_SYMBOL(RTR0Init); 98 101 99 102 … … 120 123 rtR0TermNative(); 121 124 } 125 RT_EXPORT_SYMBOL(RTR0Term); 122 126 -
trunk/src/VBox/Runtime/r0drv/linux/RTLogWriteDebugger-r0drv-linux.c
r8245 r21337 29 29 */ 30 30 31 32 /******************************************************************************* 33 * Header Files * 34 *******************************************************************************/ 31 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 32 37 #include <iprt/log.h> 33 38 … … 37 42 printk("%.*s", (int)cb, pch); 38 43 } 44 RT_EXPORT_SYMBOL(RTLogWriteDebugger); 39 45 -
trunk/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
r13665 r21337 34 34 *******************************************************************************/ 35 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 37 36 38 #include <iprt/mem.h> 37 39 #include <iprt/assert.h> … … 105 107 return rc; 106 108 } 109 RT_EXPORT_SYMBOL(RTR0MemExecDonate); 107 110 #endif /* RTMEMALLOC_EXEC_HEAP */ 108 111 … … 272 275 return NULL; 273 276 } 277 RT_EXPORT_SYMBOL(RTMemContAlloc); 274 278 275 279 … … 312 316 } 313 317 } 314 318 RT_EXPORT_SYMBOL(RTMemContFree); 319 -
trunk/src/VBox/Runtime/r0drv/linux/assert-r0drv-linux.c
r13512 r21337 34 34 *******************************************************************************/ 35 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 36 37 37 38 #include <iprt/assert.h> … … 47 48 /** The last assert message, 1st part. */ 48 49 RTDATADECL(char) g_szRTAssertMsg1[1024]; 50 RT_EXPORT_SYMBOL(g_szRTAssertMsg1); 49 51 /** The last assert message, 2nd part. */ 50 52 RTDATADECL(char) g_szRTAssertMsg2[2048]; 53 RT_EXPORT_SYMBOL(g_szRTAssertMsg2); 51 54 /** The last assert message, file name. */ 52 55 RTDATADECL(const char *) volatile g_pszRTAssertExpr; 56 RT_EXPORT_SYMBOL(g_pszRTAssertExpr); 53 57 /** The last assert message, file name. */ 54 58 RTDATADECL(const char *) volatile g_pszRTAssertFile; 59 RT_EXPORT_SYMBOL(g_pszRTAssertFile); 55 60 /** The last assert message, line number. */ 56 61 RTDATADECL(uint32_t) volatile g_u32RTAssertLine; 62 RT_EXPORT_SYMBOL(g_u32RTAssertLine); 57 63 /** The last assert message, function name. */ 58 64 RTDATADECL(const char *) volatile g_pszRTAssertFunction; 65 RT_EXPORT_SYMBOL(g_pszRTAssertFunction); 59 66 60 67 … … 83 90 ASMAtomicUoWriteU32(&g_u32RTAssertLine, uLine); 84 91 } 92 RT_EXPORT_SYMBOL(AssertMsg1); 85 93 86 94 … … 106 114 va_end(va); 107 115 } 116 RT_EXPORT_SYMBOL(AssertMsg2); 108 117 109 118 … … 112 121 panic("%s%s", g_szRTAssertMsg1, g_szRTAssertMsg2); 113 122 } 123 RT_EXPORT_SYMBOL(RTR0AssertPanicSystem); 114 124 115 116 #if defined(RT_OS_LINUX) && defined(IN_MODULE)117 /*118 * When we build this in the Linux kernel module, we wish to make the119 * symbols available to other modules as well.120 */121 # include "the-linux-kernel.h"122 EXPORT_SYMBOL (RTR0AssertPanicSystem);123 EXPORT_SYMBOL (AssertMsg1);124 EXPORT_SYMBOL (AssertMsg2);125 #endif /* RT_OS_LINUX && IN_MODULE */ -
trunk/src/VBox/Runtime/r0drv/linux/initterm-r0drv-linux.c
r8245 r21337 34 34 *******************************************************************************/ 35 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 36 37 #include <iprt/err.h> 37 38 #include <iprt/assert.h> … … 45 46 /* in alloc-r0drv0-linux.c */ 46 47 extern void rtR0MemExecCleanup(void); 47 #endif 48 #endif 48 49 49 50 … … 58 59 #ifdef RT_ARCH_AMD64 59 60 rtR0MemExecCleanup(); 60 #endif 61 #endif 61 62 } 62 63 -
trunk/src/VBox/Runtime/r0drv/linux/memuserkernel-r0drv-linux.c
r21296 r21337 34 34 *******************************************************************************/ 35 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 36 37 37 38 #include <iprt/mem.h> … … 45 46 return VERR_ACCESS_DENIED; 46 47 } 48 RT_EXPORT_SYMBOL(RTR0MemUserCopyFrom); 47 49 48 50 … … 53 55 return VERR_ACCESS_DENIED; 54 56 } 57 RT_EXPORT_SYMBOL(RTR0MemUserCopyTo); 55 58 56 59 … … 59 62 return access_ok(VERIFY_READ, (void *)R3Ptr, 1); 60 63 } 64 RT_EXPORT_SYMBOL(RTR0MemUserIsValidAddr); 61 65 62 66 … … 83 87 #endif 84 88 } 89 RT_EXPORT_SYMBOL(RTR0MemKernelIsValidAddr); 85 90 86 91 … … 93 98 #endif 94 99 } 100 RT_EXPORT_SYMBOL(RTR0MemAreKrnlAndUsrDifferent); 95 101 -
trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
r19389 r21337 34 34 *******************************************************************************/ 35 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 36 37 37 38 #include <iprt/mp.h> … … 46 47 return smp_processor_id(); 47 48 } 49 RT_EXPORT_SYMBOL(RTMpCpuId); 48 50 49 51 … … 52 54 return idCpu < NR_CPUS ? (int)idCpu : -1; 53 55 } 56 RT_EXPORT_SYMBOL(RTMpCpuIdToSetIndex); 54 57 55 58 … … 58 61 return iCpu < NR_CPUS ? (RTCPUID)iCpu : NIL_RTCPUID; 59 62 } 63 RT_EXPORT_SYMBOL(RTMpCpuIdFromSetIndex); 60 64 61 65 … … 64 68 return NR_CPUS - 1; //??? 65 69 } 70 RT_EXPORT_SYMBOL(RTMpGetMaxCpuId); 66 71 67 72 … … 81 86 #endif 82 87 } 88 RT_EXPORT_SYMBOL(RTMpIsCpuPossible); 83 89 84 90 … … 96 102 return pSet; 97 103 } 104 RT_EXPORT_SYMBOL(RTMpGetSet); 98 105 99 106 … … 116 123 #endif 117 124 } 125 RT_EXPORT_SYMBOL(RTMpGetCount); 118 126 119 127 … … 132 140 #endif 133 141 } 142 RT_EXPORT_SYMBOL(RTMpIsCpuOnline); 134 143 135 144 … … 152 161 return pSet; 153 162 } 163 RT_EXPORT_SYMBOL(RTMpGetOnlineSet); 154 164 155 165 … … 168 178 #endif 169 179 } 180 RT_EXPORT_SYMBOL(RTMpGetOnlineCount); 170 181 171 182 … … 175 186 return false; 176 187 } 188 RT_EXPORT_SYMBOL(RTMpIsCpuWorkPending); 177 189 178 190 … … 222 234 return VINF_SUCCESS; 223 235 } 236 RT_EXPORT_SYMBOL(RTMpOnAll); 224 237 225 238 … … 250 263 return VINF_SUCCESS; 251 264 } 265 RT_EXPORT_SYMBOL(RTMpOnOthers); 252 266 253 267 … … 319 333 return rc; 320 334 } 335 RT_EXPORT_SYMBOL(RTMpOnSpecific); 321 336 322 337 … … 359 374 #endif /* older kernels */ 360 375 } 361 376 RT_EXPORT_SYMBOL(RTMpPokeCpu); 377 -
trunk/src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c
r12029 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/mp.h> … … 61 63 }; 62 64 63 # ifdef CPU_DOWN_FAILED65 # ifdef CPU_DOWN_FAILED 64 66 /** 65 67 * The set of CPUs we've seen going offline recently. 66 68 */ 67 69 static RTCPUSET g_MpPendingOfflineSet; 68 # endif70 # endif 69 71 70 72 … … 96 98 * Ignore failure events for CPUs we didn't see go offline. 97 99 */ 98 # ifdef CPU_DOWN_FAILED100 # ifdef CPU_DOWN_FAILED 99 101 case CPU_DOWN_FAILED: 100 # if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_FAILED_FROZEN)102 # if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_FAILED_FROZEN) 101 103 case CPU_DOWN_FAILED_FROZEN: 102 # endif104 # endif 103 105 if (!RTCpuSetIsMember(&g_MpPendingOfflineSet, idCpu)) 104 106 return 0; 105 107 /* fall thru */ 106 # endif108 # endif 107 109 case CPU_ONLINE: 108 # if defined(CPU_TASKS_FROZEN) && defined(CPU_ONLINE_FROZEN)110 # if defined(CPU_TASKS_FROZEN) && defined(CPU_ONLINE_FROZEN) 109 111 case CPU_ONLINE_FROZEN: 110 # endif111 # ifdef CPU_DOWN_FAILED112 # endif 113 # ifdef CPU_DOWN_FAILED 112 114 RTCpuSetDel(&g_MpPendingOfflineSet, idCpu); 113 # endif115 # endif 114 116 rtMpNotificationDoCallbacks(RTMPEVENT_ONLINE, idCpu); 115 117 break; … … 120 122 * it's exactly one. 121 123 */ 122 # ifdef CPU_DOWN_PREPARE124 # ifdef CPU_DOWN_PREPARE 123 125 case CPU_DOWN_PREPARE: 124 # if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_PREPARE_FROZEN)126 # if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_PREPARE_FROZEN) 125 127 case CPU_DOWN_PREPARE_FROZEN: 128 # endif 129 # else 130 case CPU_DEAD: 131 # if defined(CPU_TASKS_FROZEN) && defined(CPU_DEAD_FROZEN) 132 case CPU_DEAD_FROZEN: 133 # endif 126 134 # endif 127 #else 128 case CPU_DEAD: 129 # if defined(CPU_TASKS_FROZEN) && defined(CPU_DEAD_FROZEN) 130 case CPU_DEAD_FROZEN: 135 rtMpNotificationDoCallbacks(RTMPEVENT_OFFLINE, idCpu); 136 # ifdef CPU_DOWN_FAILED 137 RTCpuSetAdd(&g_MpPendingOfflineSet, idCpu); 131 138 # endif 132 #endif133 rtMpNotificationDoCallbacks(RTMPEVENT_OFFLINE, idCpu);134 #ifdef CPU_DOWN_FAILED135 RTCpuSetAdd(&g_MpPendingOfflineSet, idCpu);136 #endif137 139 break; 138 140 } … … 146 148 int rc; 147 149 148 # ifdef CPU_DOWN_FAILED150 # ifdef CPU_DOWN_FAILED 149 151 RTCpuSetEmpty(&g_MpPendingOfflineSet); 150 # endif152 # endif 151 153 152 154 rc = register_cpu_notifier(&g_NotifierBlock); -
trunk/src/VBox/Runtime/r0drv/linux/process-r0drv-linux.c
r8245 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/process.h> … … 41 43 return (RTPROCESS)current->tgid; 42 44 } 45 RT_EXPORT_SYMBOL(RTProcSelf); 43 46 44 47 … … 47 50 return (RTR0PROCESS)current->tgid; 48 51 } 52 RT_EXPORT_SYMBOL(RTR0ProcHandleSelf); 49 53 -
trunk/src/VBox/Runtime/r0drv/linux/semevent-r0drv-linux.c
r19888 r21337 34 34 *******************************************************************************/ 35 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 36 37 #include <iprt/semaphore.h> 37 38 #include <iprt/alloc.h> … … 74 75 return VERR_NO_MEMORY; 75 76 } 77 RT_EXPORT_SYMBOL(RTSemEventCreate); 76 78 77 79 … … 100 102 return VINF_SUCCESS; 101 103 } 104 RT_EXPORT_SYMBOL(RTSemEventDestroy); 102 105 103 106 … … 125 128 return VINF_SUCCESS; 126 129 } 130 RT_EXPORT_SYMBOL(RTSemEventSignal); 127 131 128 132 … … 204 208 return rtSemEventWait(pEventInt, cMillies, false /* fInterruptible */); 205 209 } 210 RT_EXPORT_SYMBOL(RTSemEventWait); 206 211 207 212 … … 222 227 return rtSemEventWait(pEventInt, cMillies, true /* fInterruptible */); 223 228 } 224 229 RT_EXPORT_SYMBOL(RTSemEventWaitNoResume); 230 -
trunk/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c
r19886 r21337 34 34 *******************************************************************************/ 35 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 36 37 #include <iprt/semaphore.h> 37 38 #include <iprt/alloc.h> … … 74 75 return VERR_NO_MEMORY; 75 76 } 77 RT_EXPORT_SYMBOL(RTSemEventMultiCreate); 76 78 77 79 … … 97 99 return VINF_SUCCESS; 98 100 } 101 RT_EXPORT_SYMBOL(RTSemEventMultiDestroy); 99 102 100 103 … … 117 120 return VINF_SUCCESS; 118 121 } 122 RT_EXPORT_SYMBOL(RTSemEventMultiSignal); 119 123 120 124 … … 136 140 return VINF_SUCCESS; 137 141 } 142 RT_EXPORT_SYMBOL(RTSemEventMultiReset); 138 143 139 144 … … 211 216 return rtSemEventMultiWait(pThis, cMillies, false /* fInterruptible */); 212 217 } 218 RT_EXPORT_SYMBOL(RTSemEventMultiWait); 213 219 214 220 … … 225 231 return rtSemEventMultiWait(pThis, cMillies, true /* fInterruptible */); 226 232 } 227 233 RT_EXPORT_SYMBOL(RTSemEventMultiWaitNoResume); 234 -
trunk/src/VBox/Runtime/r0drv/linux/semfastmutex-r0drv-linux.c
r8245 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * 35 34 *******************************************************************************/ 36 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 37 37 #include <iprt/semaphore.h> 38 38 #include <iprt/alloc.h> … … 87 87 return VINF_SUCCESS; 88 88 } 89 RT_EXPORT_SYMBOL(RTSemFastMutexCreate); 89 90 90 91 … … 107 108 return VINF_SUCCESS; 108 109 } 110 RT_EXPORT_SYMBOL(RTSemFastMutexDestroy); 109 111 110 112 … … 133 135 return VINF_SUCCESS; 134 136 } 137 RT_EXPORT_SYMBOL(RTSemFastMutexRequest); 135 138 136 139 … … 158 161 return VINF_SUCCESS; 159 162 } 163 RT_EXPORT_SYMBOL(RTSemFastMutexRelease); 160 164 -
trunk/src/VBox/Runtime/r0drv/linux/semmutex-r0drv-linux.c
r8245 r21337 30 30 31 31 32 33 32 /******************************************************************************* 34 33 * Header Files * 35 34 *******************************************************************************/ 36 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 37 37 #include <iprt/semaphore.h> 38 38 #include <iprt/alloc.h> … … 77 77 return VERR_NO_MEMORY; 78 78 } 79 RT_EXPORT_SYMBOL(RTSemMutexCreate); 79 80 80 81 … … 103 104 return VINF_SUCCESS; 104 105 } 106 RT_EXPORT_SYMBOL(RTSemMutexDestroy); 105 107 106 108 … … 187 189 return VINF_SUCCESS; 188 190 } 191 RT_EXPORT_SYMBOL(RTSemMutexRequest); 189 192 190 193 … … 222 225 return VINF_SUCCESS; 223 226 } 224 227 RT_EXPORT_SYMBOL(RTSemMutexRelease); 228 -
trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c
r13770 r21337 42 42 #include "internal/magics.h" 43 43 44 44 45 /******************************************************************************* 45 46 * Structures and Typedefs * … … 81 82 return VINF_SUCCESS; 82 83 } 84 RT_EXPORT_SYMBOL(RTSpinlockCreate); 83 85 84 86 … … 101 103 return VINF_SUCCESS; 102 104 } 105 RT_EXPORT_SYMBOL(RTSpinlockDestroy); 103 106 104 107 … … 112 115 spin_lock_irqsave(&pSpinlockInt->Spinlock, pTmp->flFlags); 113 116 } 117 RT_EXPORT_SYMBOL(RTSpinlockAcquireNoInts); 114 118 115 119 … … 123 127 spin_unlock_irqrestore(&pSpinlockInt->Spinlock, pTmp->flFlags); 124 128 } 129 RT_EXPORT_SYMBOL(RTSpinlockReleaseNoInts); 125 130 126 131 … … 134 139 spin_lock(&pSpinlockInt->Spinlock); 135 140 } 141 RT_EXPORT_SYMBOL(RTSpinlockAcquire); 136 142 137 143 … … 145 151 spin_unlock(&pSpinlockInt->Spinlock); 146 152 } 153 RT_EXPORT_SYMBOL(RTSpinlockRelease); 147 154 148 #if defined(IN_GUEST_R0) && defined(IN_MODULE)149 EXPORT_SYMBOL(RTSpinlockCreate);150 EXPORT_SYMBOL(RTSpinlockDestroy);151 EXPORT_SYMBOL(RTSpinlockAcquireNoInts);152 EXPORT_SYMBOL(RTSpinlockReleaseNoInts);153 #endif -
trunk/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c
r20124 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/thread.h> … … 43 45 return (RTNATIVETHREAD)current; 44 46 } 47 RT_EXPORT_SYMBOL(RTThreadNativeSelf); 45 48 46 49 47 RTDECL(int) 50 RTDECL(int) RTThreadSleep(unsigned cMillies) 48 51 { 49 52 long cJiffies = msecs_to_jiffies(cMillies); … … 54 57 return VERR_INTERRUPTED; 55 58 } 59 RT_EXPORT_SYMBOL(RTThreadSleep); 56 60 57 61 … … 67 71 return true; 68 72 } 73 RT_EXPORT_SYMBOL(RTThreadYield); 69 74 70 75 … … 82 87 #endif 83 88 } 89 RT_EXPORT_SYMBOL(RTThreadPreemptIsEnabled); 84 90 85 91 … … 100 106 #endif 101 107 } 108 RT_EXPORT_SYMBOL(RTThreadPreemptIsPending); 102 109 103 110 … … 107 114 return true; 108 115 } 116 RT_EXPORT_SYMBOL(RTThreadPreemptIsPendingTrusty); 109 117 110 118 … … 122 130 preempt_disable(); 123 131 } 132 RT_EXPORT_SYMBOL(RTThreadPreemptDisable); 124 133 125 134 … … 132 141 preempt_enable(); 133 142 } 143 RT_EXPORT_SYMBOL(RTThreadPreemptRestore); 134 144 -
trunk/src/VBox/Runtime/r0drv/linux/thread2-r0drv-linux.c
r19937 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/assert.h> -
trunk/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
r9369 r21337 35 35 #define LOG_GROUP RTLOGGROUP_TIME 36 36 #include "the-linux-kernel.h" 37 #include "internal/iprt.h" 37 38 #include <iprt/time.h> 38 39 #include <iprt/asm.h> … … 147 148 return rtTimeGetSystemNanoTS(); 148 149 } 150 RT_EXPORT_SYMBOL(RTTimeNanoTS); 149 151 150 152 … … 153 155 return rtTimeGetSystemNanoTS() / 1000000; 154 156 } 157 RT_EXPORT_SYMBOL(RTTimeMilliTS); 155 158 156 159 … … 159 162 return rtTimeGetSystemNanoTS(); 160 163 } 164 RT_EXPORT_SYMBOL(RTTimeSystemNanoTS); 161 165 162 166 … … 165 169 return rtTimeGetSystemNanoTS() / 1000000; 166 170 } 171 RT_EXPORT_SYMBOL(RTTimeSystemMilliTS); 167 172 168 173 … … 180 185 #endif 181 186 } 187 RT_EXPORT_SYMBOL(RTTimeNow); 182 188 -
trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
r14318 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/timer.h> … … 744 746 return VINF_SUCCESS; 745 747 } 748 RT_EXPORT_SYMBOL(RTTimerStart); 746 749 747 750 … … 775 778 return VINF_SUCCESS; 776 779 } 780 RT_EXPORT_SYMBOL(RTTimerStop); 777 781 778 782 … … 818 822 return VINF_SUCCESS; 819 823 } 824 RT_EXPORT_SYMBOL(RTTimerDestroy); 820 825 821 826 … … 924 929 return VINF_SUCCESS; 925 930 } 931 RT_EXPORT_SYMBOL(RTTimerCreateEx); 926 932 927 933 … … 939 945 return 1000000000 / HZ; /* ns */ 940 946 } 947 RT_EXPORT_SYMBOL(RTTimerGetSystemGranularity); 941 948 942 949 … … 945 952 return VERR_NOT_SUPPORTED; 946 953 } 954 RT_EXPORT_SYMBOL(RTTimerRequestSystemGranularity); 947 955 948 956 … … 951 959 return VERR_NOT_SUPPORTED; 952 960 } 953 961 RT_EXPORT_SYMBOL(RTTimerReleaseSystemGranularity); 962 -
trunk/src/VBox/Runtime/r0drv/memobj-r0drv.cpp
r20525 r21337 35 35 #define LOG_GROUP RTLOGGROUP_DEFAULT ///@todo RTLOGGROUP_MEM 36 36 #include <iprt/memobj.h> 37 #include "internal/iprt.h" 37 38 38 39 #include <iprt/alloc.h> … … 158 159 return rtR0MemObjIsMapping(pMem); 159 160 } 161 RT_EXPORT_SYMBOL(RTR0MemObjIsMapping); 160 162 161 163 … … 181 183 return pMem->pv; 182 184 } 185 RT_EXPORT_SYMBOL(RTR0MemObjAddress); 183 186 184 187 … … 219 222 return (RTR3PTR)pMem->pv; 220 223 } 224 RT_EXPORT_SYMBOL(RTR0MemObjAddressR3); 221 225 222 226 … … 243 247 return pMem->cb; 244 248 } 249 RT_EXPORT_SYMBOL(RTR0MemObjSize); 245 250 246 251 … … 288 293 return rtR0MemObjNativeGetPagePhysAddr(pMem, iPage); 289 294 } 295 RT_EXPORT_SYMBOL(RTR0MemObjGetPagePhysAddr); 290 296 291 297 … … 396 402 return rc; 397 403 } 404 RT_EXPORT_SYMBOL(RTR0MemObjFree); 398 405 399 406 … … 421 428 return rtR0MemObjNativeAllocPage(pMemObj, cbAligned, fExecutable); 422 429 } 430 RT_EXPORT_SYMBOL(RTR0MemObjAllocPage); 423 431 424 432 … … 445 453 return rtR0MemObjNativeAllocLow(pMemObj, cbAligned, fExecutable); 446 454 } 455 RT_EXPORT_SYMBOL(RTR0MemObjAllocLow); 447 456 448 457 … … 469 478 return rtR0MemObjNativeAllocCont(pMemObj, cbAligned, fExecutable); 470 479 } 480 RT_EXPORT_SYMBOL(RTR0MemObjAllocCont); 471 481 472 482 … … 503 513 return rtR0MemObjNativeLockUser(pMemObj, R3PtrAligned, cbAligned, R0Process); 504 514 } 515 RT_EXPORT_SYMBOL(RTR0MemObjLockUser); 505 516 506 517 … … 529 540 return rtR0MemObjNativeLockKernel(pMemObj, pvAligned, cbAligned); 530 541 } 542 RT_EXPORT_SYMBOL(RTR0MemObjLockKernel); 531 543 532 544 … … 553 565 return rtR0MemObjNativeAllocPhys(pMemObj, cbAligned, PhysHighest); 554 566 } 567 RT_EXPORT_SYMBOL(RTR0MemObjAllocPhys); 555 568 556 569 … … 577 590 return rtR0MemObjNativeAllocPhysNC(pMemObj, cbAligned, PhysHighest); 578 591 } 592 RT_EXPORT_SYMBOL(RTR0MemObjAllocPhysNC); 579 593 580 594 … … 604 618 return rtR0MemObjNativeEnterPhys(pMemObj, PhysAligned, cbAligned); 605 619 } 620 RT_EXPORT_SYMBOL(RTR0MemObjEnterPhys); 606 621 607 622 … … 633 648 return rtR0MemObjNativeReserveKernel(pMemObj, pvFixed, cbAligned, uAlignment); 634 649 } 650 RT_EXPORT_SYMBOL(RTR0MemObjReserveKernel); 635 651 636 652 … … 665 681 return rtR0MemObjNativeReserveUser(pMemObj, R3PtrFixed, cbAligned, uAlignment, R0Process); 666 682 } 683 RT_EXPORT_SYMBOL(RTR0MemObjReserveUser); 667 684 668 685 … … 682 699 return RTR0MemObjMapKernelEx(pMemObj, MemObjToMap, pvFixed, uAlignment, fProt, 0, 0); 683 700 } 701 RT_EXPORT_SYMBOL(RTR0MemObjMapKernel); 684 702 685 703 … … 762 780 return rc; 763 781 } 782 RT_EXPORT_SYMBOL(RTR0MemObjMapKernelEx); 764 783 765 784 … … 821 840 return rc; 822 841 } 842 RT_EXPORT_SYMBOL(RTR0MemObjMapUser); 823 843 824 844 … … 848 868 return rc; 849 869 } 870 RT_EXPORT_SYMBOL(RTR0MemObjProtect); 871 -
trunk/src/VBox/Runtime/r0drv/mpnotification-r0drv.c
r12292 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" 37 35 38 #include <iprt/asm.h> 36 39 #include <iprt/assert.h> … … 224 227 return VINF_SUCCESS; 225 228 } 226 229 RT_EXPORT_SYMBOL(RTMpNotificationRegister); 227 230 228 231 … … 273 276 return VINF_SUCCESS; 274 277 } 278 RT_EXPORT_SYMBOL(RTMpNotificationDeregister); 275 279 276 280 … … 335 339 } 336 340 337 -
trunk/src/VBox/Runtime/r0drv/powernotification-r0drv.c
r13908 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/power.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/asm.h> 36 39 #include <iprt/assert.h> … … 153 156 return VINF_SUCCESS; 154 157 } 155 158 RT_EXPORT_SYMBOL(RTPowerSignalEvent); 156 159 157 160 … … 220 223 return VINF_SUCCESS; 221 224 } 222 225 RT_EXPORT_SYMBOL(RTPowerNotificationRegister); 223 226 224 227 … … 269 272 return VINF_SUCCESS; 270 273 } 274 RT_EXPORT_SYMBOL(RTPowerNotificationDeregister); 271 275 272 276 … … 330 334 } 331 335 332
Note:
See TracChangeset
for help on using the changeset viewer.