VirtualBox

Changeset 36190 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Mar 7, 2011 4:28:50 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70394
Message:

IPRT,Drivers: Committed a modified version of the diff_linux_guest_host patch. This mangles the IPRT symbols in kernel space on linux and later other platforms.

Location:
trunk/src/VBox/Runtime/r0drv
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/alloc-r0drv.cpp

    r33269 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTMEM_NO_WRAP_TO_EF_APIS
    3132#include <iprt/mem.h>
    3233#include "internal/iprt.h"
     
    5758# define RTR0MEM_FENCE_EXTRA    0
    5859#endif
    59 
    60 
    61 #undef RTMemTmpAlloc
    62 #undef RTMemTmpAllocTag
    63 #undef RTMemTmpAllocZ
    64 #undef RTMemTmpAllocZTag
    65 #undef RTMemTmpFree
    66 #undef RTMemAlloc
    67 #undef RTMemAllocTag
    68 #undef RTMemAllocZ
    69 #undef RTMemAllocZTag
    70 #undef RTMemAllocVar
    71 #undef RTMemAllocVarTag
    72 #undef RTMemAllocZVar
    73 #undef RTMemAllocZVarTag
    74 #undef RTMemRealloc
    75 #undef RTMemReallocTag
    76 #undef RTMemFree
    77 #undef RTMemDup
    78 #undef RTMemDupTag
    79 #undef RTMemDupEx
    80 #undef RTMemDupExTag
    81 #undef rtR0MemAllocEx
    82 #undef rtR0MemAllocExTag
    83 #undef rtR0MemFreeEx
    8460
    8561
  • trunk/src/VBox/Runtime/r0drv/darwin/semevent-r0drv-darwin.cpp

    r33269 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMEVENT_WITHOUT_REMAPPING
    3132#include "the-darwin-kernel.h"
    3233#include "internal/iprt.h"
     
    371372
    372373
    373 #undef RTSemEventWaitEx
    374374RTDECL(int)  RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout)
    375375{
  • trunk/src/VBox/Runtime/r0drv/darwin/semeventmulti-r0drv-darwin.cpp

    r33158 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMEVENTMULTI_WITHOUT_REMAPPING
    3132#include "the-darwin-kernel.h"
    3233#include "internal/iprt.h"
     
    384385}
    385386
    386 #undef RTSemEventMultiWaitEx
    387387RTDECL(int)  RTSemEventMultiWaitEx(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout)
    388388{
  • trunk/src/VBox/Runtime/r0drv/darwin/semmutex-r0drv-darwin.cpp

    r29255 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMMULTI_WITHOUT_REMAPPING
    3132#include "the-darwin-kernel.h"
    3233#include "internal/iprt.h"
     
    301302
    302303
    303 #undef RTSemMutexRequest
    304304RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    305305{
     
    314314
    315315
    316 #undef RTSemMutexRequestNoResume
    317316RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    318317{
  • trunk/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c

    r33376 r36190  
    3232*   Header Files                                                               *
    3333*******************************************************************************/
     34#define RTSEMEVENT_WITHOUT_REMAPPING
    3435#include "the-freebsd-kernel.h"
    3536#include "internal/iprt.h"
     
    227228
    228229
    229 #undef RTSemEventWaitEx
    230230RTDECL(int)  RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout)
    231231{
  • trunk/src/VBox/Runtime/r0drv/freebsd/semeventmulti-r0drv-freebsd.c

    r33376 r36190  
    3232*   Header Files                                                               *
    3333*******************************************************************************/
     34#define RTSEMEVENTMULTI_WITHOUT_REMAPPING
    3435#include "the-freebsd-kernel.h"
    3536#include "internal/iprt.h"
     
    289290
    290291
    291 #undef RTSemEventMultiWaitEx
    292292RTDECL(int)  RTSemEventMultiWaitEx(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout)
    293293{
  • trunk/src/VBox/Runtime/r0drv/freebsd/semmutex-r0drv-freebsd.c

    r28800 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMMUTEX_WITHOUT_REMAPPING
    3132#include "the-freebsd-kernel.h"
    3233#include "internal/iprt.h"
     
    9394
    9495
    95 #undef RTSemMutexRequest
    9696RTDECL(int)  RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    9797{
     
    144144
    145145
    146 #undef RTSemMutexRequestNoResume
    147146RTDECL(int)  RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    148147{
  • trunk/src/VBox/Runtime/r0drv/linux/semevent-r0drv-linux.c

    r33269 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMEVENT_WITHOUT_REMAPPING
    3132#include "the-linux-kernel.h"
    3233#include "internal/iprt.h"
     
    237238
    238239
    239 #undef RTSemEventWaitEx
    240240RTDECL(int)  RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout)
    241241{
  • trunk/src/VBox/Runtime/r0drv/linux/semeventmulti-r0drv-linux.c

    r35051 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMEVENTMULTI_WITHOUT_REMAPPING
    3132#include "the-linux-kernel.h"
    3233#include "internal/iprt.h"
     
    302303
    303304
    304 #undef RTSemEventMultiWaitEx
    305305RTDECL(int)  RTSemEventMultiWaitEx(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout)
    306306{
  • trunk/src/VBox/Runtime/r0drv/linux/semmutex-r0drv-linux.c

    r34406 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMMUTEX_WITHOUT_REMAPPING
    3132#include "the-linux-kernel.h"
    3233#include "internal/iprt.h"
     
    297298
    298299
    299 #undef RTSemMutexRequest
    300300RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    301301{
     
    312312
    313313
    314 #undef RTSemMutexRequestNoResume
    315314RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    316315{
  • trunk/src/VBox/Runtime/r0drv/nt/semevent-r0drv-nt.cpp

    r33311 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMEVENT_WITHOUT_REMAPPING
    3132#include "the-nt-kernel.h"
    3233#include <iprt/semaphore.h>
     
    249250
    250251
    251 #undef RTSemEventWaitEx
    252252RTDECL(int)  RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout)
    253253{
  • trunk/src/VBox/Runtime/r0drv/nt/semeventmulti-r0drv-nt.cpp

    r33158 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMEVENTMULTI_WITHOUT_REMAPPING
    3132#include "the-nt-kernel.h"
    3233#include <iprt/semaphore.h>
     
    272273
    273274
    274 #undef RTSemEventMultiWaitEx
    275275RTDECL(int)  RTSemEventMultiWaitEx(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout)
    276276{
  • trunk/src/VBox/Runtime/r0drv/nt/semmutex-r0drv-nt.cpp

    r28800 r36190  
    3030*   Header Files                                                               *
    3131*******************************************************************************/
     32#define RTSEMMUTEX_WITHOUT_REMAPPING
    3233#include "the-nt-kernel.h"
    3334#include <iprt/semaphore.h>
     
    169170
    170171
    171 #undef RTSemMutexRequest
    172172RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    173173{
     
    182182
    183183
    184 #undef RTSemMutexRequestNoResume
    185184RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    186185{
  • trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c

    r33676 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMEVENT_WITHOUT_REMAPPING
    3132#include "the-solaris-kernel.h"
    3233#include "internal/iprt.h"
     
    316317
    317318
    318 #undef RTSemEventWaitEx
    319319RTDECL(int)  RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout)
    320320{
  • trunk/src/VBox/Runtime/r0drv/solaris/semeventmulti-r0drv-solaris.c

    r33155 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMEVENTMULTI_WITHOUT_REMAPPING
    3132#include "the-solaris-kernel.h"
    3233#include "internal/iprt.h"
     
    320321
    321322
    322 #undef RTSemEventMultiWaitEx
    323323RTDECL(int)  RTSemEventMultiWaitEx(RTSEMEVENTMULTI hEventMultiSem, uint32_t fFlags, uint64_t uTimeout)
    324324{
  • trunk/src/VBox/Runtime/r0drv/solaris/semmutex-r0drv-solaris.c

    r30013 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMMUTEX_WITHOUT_REMAPPING
    3132#include "the-solaris-kernel.h"
    3233#include "internal/iprt.h"
     
    302303
    303304
    304 #undef RTSemMutexRequest
    305305RTDECL(int) RTSemMutexRequest(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    306306{
     
    315315
    316316
    317 #undef RTSemMutexRequestNoResume
    318317RTDECL(int) RTSemMutexRequestNoResume(RTSEMMUTEX hMutexSem, RTMSINTERVAL cMillies)
    319318{
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