Changeset 21337 in vbox for trunk/src/VBox/Runtime/common/alloc
- Timestamp:
- Jul 7, 2009 2:58:27 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime/common/alloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.