VirtualBox

Ignore:
Timestamp:
Jul 7, 2009 2:58:27 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49685
Message:

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

Location:
trunk/src/VBox/Runtime/common/dbg
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbg.cpp

    r20800 r21337  
    3333*******************************************************************************/
    3434#include <iprt/dbg.h>
     35#include "internal/iprt.h"
     36
    3537#include <iprt/mem.h>
    3638
     
    4648    return (PRTDBGSYMBOL)RTMemAllocZ(sizeof(RTDBGSYMBOL));
    4749}
     50RT_EXPORT_SYMBOL(RTDbgSymbolAlloc);
    4851
    4952
     
    5962    return (PRTDBGSYMBOL)RTMemDup(pSymInfo, sizeof(*pSymInfo));
    6063}
     64RT_EXPORT_SYMBOL(RTDbgSymbolDup);
    6165
    6266
     
    7074    RTMemFree(pSymInfo);
    7175}
     76RT_EXPORT_SYMBOL(RTDbgSymbolFree);
    7277
    7378
     
    8186    return (PRTDBGLINE)RTMemAllocZ(sizeof(RTDBGLINE));
    8287}
     88RT_EXPORT_SYMBOL(RTDbgLineAlloc);
    8389
    8490
     
    94100    return (PRTDBGLINE)RTMemDup(pLine, sizeof(*pLine));
    95101}
     102RT_EXPORT_SYMBOL(RTDbgLineDup);
    96103
    97104
     
    105112    RTMemFree(pLine);
    106113}
     114RT_EXPORT_SYMBOL(RTDbgLineFree);
    107115
    108116
  • trunk/src/VBox/Runtime/common/dbg/dbgas.cpp

    r21110 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/dbg.h>
     36#include "internal/iprt.h"
     37
    3538#include <iprt/asm.h>
    3639#include <iprt/avl.h>
     
    224227    return rc;
    225228}
     229RT_EXPORT_SYMBOL(RTDbgAsCreate);
    226230
    227231
     
    251255    return rc;
    252256}
     257RT_EXPORT_SYMBOL(RTDbgAsCreateV);
    253258
    254259
     
    272277    return rc;
    273278}
     279RT_EXPORT_SYMBOL(RTDbgAsCreateF);
    274280
    275281
     
    351357    return ASMAtomicIncU32(&pDbgAs->cRefs);
    352358}
     359RT_EXPORT_SYMBOL(RTDbgAsRetain);
    353360
    354361
     
    380387    return cRefs;
    381388}
     389RT_EXPORT_SYMBOL(RTDbgAsRelease);
    382390
    383391
     
    398406    return pDbgAs->szName;
    399407}
     408RT_EXPORT_SYMBOL(RTDbgAsName);
    400409
    401410
     
    416425    return pDbgAs->FirstAddr;
    417426}
     427RT_EXPORT_SYMBOL(RTDbgAsFirstAddr);
    418428
    419429
     
    434444    return pDbgAs->LastAddr;
    435445}
     446RT_EXPORT_SYMBOL(RTDbgAsLastAddr);
    436447
    437448/**
     
    453464    return pDbgAs->cModules;
    454465}
     466RT_EXPORT_SYMBOL(RTDbgAsModuleCount);
    455467
    456468
     
    635647    return rc;
    636648}
     649RT_EXPORT_SYMBOL(RTDbgAsModuleLink);
    637650
    638651
     
    683696    return rc;
    684697}
     698RT_EXPORT_SYMBOL(RTDbgAsModuleLinkSeg);
    685699
    686700
     
    839853    return VINF_SUCCESS;
    840854}
     855RT_EXPORT_SYMBOL(RTDbgAsModuleUnlink);
    841856
    842857
     
    874889    return VINF_SUCCESS;
    875890}
     891RT_EXPORT_SYMBOL(RTDbgAsModuleUnlinkByAddr);
    876892
    877893
     
    914930    return hMod;
    915931}
     932RT_EXPORT_SYMBOL(RTDbgAsModuleByIndex);
    916933
    917934
     
    965982    return VINF_SUCCESS;
    966983}
     984RT_EXPORT_SYMBOL(RTDbgAsModuleByAddr);
    967985
    968986
     
    10191037    return VINF_SUCCESS;
    10201038}
     1039RT_EXPORT_SYMBOL(RTDbgAsModuleByName);
    10211040
    10221041
     
    11691188    return rc;
    11701189}
     1190RT_EXPORT_SYMBOL(RTDbgAsSymbolAdd);
    11711191
    11721192
     
    12161236    return rc;
    12171237}
     1238RT_EXPORT_SYMBOL(RTDbgAsSymbolByAddr);
    12181239
    12191240
     
    12641285    return rc;
    12651286}
     1287RT_EXPORT_SYMBOL(RTDbgAsSymbolByAddrA);
    12661288
    12671289
     
    14371459    return VERR_SYMBOL_NOT_FOUND;
    14381460}
     1461RT_EXPORT_SYMBOL(RTDbgAsSymbolByName);
    14391462
    14401463
     
    15111534    return VERR_SYMBOL_NOT_FOUND;
    15121535}
     1536RT_EXPORT_SYMBOL(RTDbgAsSymbolByNameA);
    15131537
    15141538
     
    15511575    return rc;
    15521576}
     1577RT_EXPORT_SYMBOL(RTDbgAsLineAdd);
    15531578
    15541579
     
    15901615    return rc;
    15911616}
     1617RT_EXPORT_SYMBOL(RTDbgAsLineByAddr);
    15921618
    15931619
     
    16301656    return rc;
    16311657}
    1632 
     1658RT_EXPORT_SYMBOL(RTDbgAsLineByAddrA);
     1659
  • trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp

    r21046 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/dbg.h>
     36#include "internal/iprt.h"
    3537
    3638#include <iprt/asm.h>
     
    305307    return rc;
    306308}
     309RT_EXPORT_SYMBOL(RTDbgModCreate);
    307310
    308311
     
    311314    return VERR_NOT_IMPLEMENTED;
    312315}
     316RT_EXPORT_SYMBOL(RTDbgModCreateDeferred);
    313317
    314318
     
    317321    return VERR_NOT_IMPLEMENTED;
    318322}
     323RT_EXPORT_SYMBOL(RTDbgModCreateFromImage);
    319324
    320325
     
    393398    return rc;
    394399}
     400RT_EXPORT_SYMBOL(RTDbgModCreateFromMap);
    395401
    396402
     
    449455    return ASMAtomicIncU32(&pDbgMod->cRefs);
    450456}
     457RT_EXPORT_SYMBOL(RTDbgModRetain);
    451458
    452459
     
    475482    return cRefs;
    476483}
     484RT_EXPORT_SYMBOL(RTDbgModRelease);
    477485
    478486
     
    490498    return pDbgMod->pszName;
    491499}
     500RT_EXPORT_SYMBOL(RTDbgModName);
    492501
    493502
     
    514523    return iSeg;
    515524}
     525RT_EXPORT_SYMBOL(RTDbgModRvaToSegOff);
    516526
    517527
     
    538548    return cbImage;
    539549}
     550RT_EXPORT_SYMBOL(RTDbgModImageSize);
    540551
    541552
     
    596607
    597608}
     609RT_EXPORT_SYMBOL(RTDbgModSegmentAdd);
    598610
    599611
     
    620632    return cSegs;
    621633}
     634RT_EXPORT_SYMBOL(RTDbgModSegmentCount);
    622635
    623636
     
    651664    return rc;
    652665}
     666RT_EXPORT_SYMBOL(RTDbgModSegmentByIndex);
    653667
    654668
     
    675689    return RT_SUCCESS(rc) ? SegInfo.cb : RTUINTPTR_MAX;
    676690}
     691RT_EXPORT_SYMBOL(RTDbgModSegmentSize);
    677692
    678693
     
    696711    return RT_SUCCESS(rc) ? SegInfo.uRva : RTUINTPTR_MAX;
    697712}
     713RT_EXPORT_SYMBOL(RTDbgModSegmentRva);
    698714
    699715
     
    769785    return rc;
    770786}
     787RT_EXPORT_SYMBOL(RTDbgModSymbolAdd);
    771788
    772789
     
    794811    return cSymbols;
    795812}
     813RT_EXPORT_SYMBOL(RTDbgModSymbolCount);
    796814
    797815
     
    821839    return rc;
    822840}
     841RT_EXPORT_SYMBOL(RTDbgModSymbolByOrdinal);
    823842
    824843
     
    856875    return rc;
    857876}
     877RT_EXPORT_SYMBOL(RTDbgModSymbolByOrdinalA);
    858878
    859879
     
    916936    return rc;
    917937}
     938RT_EXPORT_SYMBOL(RTDbgModSymbolByAddr);
    918939
    919940
     
    962983    return rc;
    963984}
     985RT_EXPORT_SYMBOL(RTDbgModSymbolByAddrA);
    964986
    965987
     
    9991021    return rc;
    10001022}
     1023RT_EXPORT_SYMBOL(RTDbgModSymbolByName);
    10011024
    10021025
     
    10341057    return rc;
    10351058}
     1059RT_EXPORT_SYMBOL(RTDbgModSymbolByNameA);
    10361060
    10371061
     
    11021126    return rc;
    11031127}
     1128RT_EXPORT_SYMBOL(RTDbgModLineAdd);
    11041129
    11051130
     
    11271152    return cLineNumbers;
    11281153}
     1154RT_EXPORT_SYMBOL(RTDbgModLineCount);
    11291155
    11301156
     
    11571183    return rc;
    11581184}
     1185RT_EXPORT_SYMBOL(RTDbgModLineByOrdinal);
    11591186
    11601187
     
    11951222    return rc;
    11961223}
     1224RT_EXPORT_SYMBOL(RTDbgModLineByOrdinalA);
    11971225
    11981226
     
    12531281    return rc;
    12541282}
     1283RT_EXPORT_SYMBOL(RTDbgModLineByAddr);
    12551284
    12561285
     
    13001329    return rc;
    13011330}
    1302 
     1331RT_EXPORT_SYMBOL(RTDbgModLineByAddrA);
     1332
  • trunk/src/VBox/Runtime/common/dbg/dbgmodcontainer.cpp

    r21110 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/dbg.h>
     36#include "internal/iprt.h"
    3537
    3638#include <iprt/avl.h>
  • trunk/src/VBox/Runtime/common/dbg/dbgmodnm.cpp

    r21290 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/dbg.h>
     36#include "internal/iprt.h"
    3537
    3638#include <iprt/err.h>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette