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).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c

    r13770 r21337  
    4242#include "internal/magics.h"
    4343
     44
    4445/*******************************************************************************
    4546*   Structures and Typedefs                                                    *
     
    8182    return VINF_SUCCESS;
    8283}
     84RT_EXPORT_SYMBOL(RTSpinlockCreate);
    8385
    8486
     
    101103    return VINF_SUCCESS;
    102104}
     105RT_EXPORT_SYMBOL(RTSpinlockDestroy);
    103106
    104107
     
    112115    spin_lock_irqsave(&pSpinlockInt->Spinlock, pTmp->flFlags);
    113116}
     117RT_EXPORT_SYMBOL(RTSpinlockAcquireNoInts);
    114118
    115119
     
    123127    spin_unlock_irqrestore(&pSpinlockInt->Spinlock, pTmp->flFlags);
    124128}
     129RT_EXPORT_SYMBOL(RTSpinlockReleaseNoInts);
    125130
    126131
     
    134139    spin_lock(&pSpinlockInt->Spinlock);
    135140}
     141RT_EXPORT_SYMBOL(RTSpinlockAcquire);
    136142
    137143
     
    145151    spin_unlock(&pSpinlockInt->Spinlock);
    146152}
     153RT_EXPORT_SYMBOL(RTSpinlockRelease);
    147154
    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
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