VirtualBox

Changeset 36190 in vbox


Ignore:
Timestamp:
Mar 7, 2011 4:28:50 PM (14 years ago)
Author:
vboxsync
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
Files:
3 added
45 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/semaphore.h

    r33540 r36190  
    635635
    636636/* Strict build: Remap the two request calls to the debug versions. */
    637 #ifdef RT_STRICT
     637#if   defined(RT_STRICT) && !defined(RTSEMMUTEX_WITHOUT_REMAPPING) && !defined(RT_WITH_MANGLING)
    638638# ifdef ___iprt_asm_h
    639639#  define RTSemMutexRequest(hMutexSem, cMillies)            RTSemMutexRequestDebug((hMutexSem), (cMillies), (uintptr_t)ASMReturnAddress(), RT_SRC_POS)
     
    648648
    649649/* Strict lock order: Automatically classify locks by init location. */
    650 #if defined(RT_LOCK_STRICT_ORDER) && defined(IN_RING3)
     650#if   defined(RT_LOCK_STRICT_ORDER) && defined(IN_RING3) && !defined(RTSEMMUTEX_WITHOUT_REMAPPING) && !defined(RT_WITH_MANGLING)
    651651# define RTSemMutexCreate(phMutexSem) \
    652652    RTSemMutexCreateEx((phMutexSem), 0 /*fFlags*/, \
     
    11601160
    11611161/* Strict build: Remap the four request calls to the debug versions. */
    1162 #ifdef RT_STRICT
     1162#if defined(RT_STRICT) && !defined(RTSEMRW_WITHOUT_REMAPPING) && !defined(RT_WITH_MANGLING)
    11631163# ifdef ___iprt_asm_h
    11641164#  define RTSemRWRequestRead(hRWSem, cMillies)              RTSemRWRequestReadDebug((hRWSem), (cMillies), (uintptr_t)ASMReturnAddress(), RT_SRC_POS)
     
    11771177
    11781178/* Strict lock order: Automatically classify locks by init location. */
    1179 #if defined(RT_LOCK_STRICT_ORDER) && defined(IN_RING3)
     1179#if defined(RT_LOCK_STRICT_ORDER) && defined(IN_RING3) && !defined(RTSEMRW_WITHOUT_REMAPPING) && !defined(RT_WITH_MANGLING)
    11801180# define RTSemRWCreate(phSemRW) \
    11811181    RTSemRWCreateEx((phSemRW), 0 /*fFlags*/, \
  • trunk/src/VBox/Additions/common/VBoxGuest/freebsd/files_vboxguest

    r35430 r36190  
    3535    ${PATH_ROOT}/include/iprt/lockvalidator.h=>include/iprt/lockvalidator.h \
    3636    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     37    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3738    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    3839    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    7071    ${PATH_ROOT}/include/VBox/VBoxGuest2.h=>include/VBox/VBoxGuest2.h \
    7172    ${PATH_ROOT}/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
     73    ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    7274    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
    7375    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp=>VBoxGuest.c \
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile

    r33184 r36190  
    271271
    272272# build defs
    273 EXTRA_CFLAGS += $(INCL) $(KFLAGS) $(KDEBUG)
     273EXTRA_CFLAGS += -include $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h  $(INCL) $(KFLAGS) $(KDEBUG)
    274274
    275275all: $(MODULE)
     
    288288
    289289endif # eq($(MAKECMDGOALS),clean)
     290
     291check: $(MODULE)
     292        @if ! readelf -p __ksymtab_strings vboxguest.ko | grep -E "\[.*\]  *(RT|g_..*RT.*)"; then \
     293            echo "All exported IPRT symbols are properly renamed!"; \
     294         else \
     295            echo "error: Some exported IPRT symbols was not properly renamed! See above." >&2; \
     296            false; \
     297         fi
    290298
    291299clean:
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest

    r33033 r36190  
    3535    ${PATH_ROOT}/include/iprt/lockvalidator.h=>include/iprt/lockvalidator.h \
    3636    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     37    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3738    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    3839    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    6364    ${PATH_ROOT}/include/VBox/VBoxGuest2.h=>include/VBox/VBoxGuest2.h \
    6465    ${PATH_ROOT}/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
     66    ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    6567    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
    6668    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp=>VBoxGuest.c \
  • trunk/src/VBox/Additions/linux/Makefile

    r33183 r36190  
    6060        fi
    6161
    62 
    6362install:
    6463        @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest install
     
    8079        rm -f vboxguest.*o vboxsf.*o vboxvideo.*o
    8180
     81check:
     82        @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxguest check
     83
    8284load:
    8385        @/sbin/rmmod vboxvideo || true
  • trunk/src/VBox/Additions/linux/drm/Makefile.module

    r32183 r36190  
    215215
    216216# build defs
    217 EXTRA_CFLAGS += $(INCL) $(KFLAGS) $(KDEBUG)
     217EXTRA_CFLAGS += -include $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
    218218
    219219all: $(MODULE)
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module

    r33439 r36190  
    238238
    239239# build defs
    240 EXTRA_CFLAGS += $(INCL) $(KFLAGS) $(KDEBUG)
     240EXTRA_CFLAGS += -include $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h  $(INCL) $(KFLAGS) $(KDEBUG)
    241241
    242242all: $(MODULE)
  • trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf

    r33439 r36190  
    2828    ${PATH_ROOT}/include/iprt/fs.h=>include/iprt/fs.h \
    2929    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     30    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3031    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    3132    ${PATH_ROOT}/include/iprt/param.h=>include/iprt/param.h \
     
    4950    ${PATH_ROOT}/include/VBox/VBoxGuest2.h=>include/VBox/VBoxGuest2.h \
    5051    ${PATH_ROOT}/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
     52    ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    5153    ${PATH_ROOT}/include/VBox/VMMDev.h=>include/VBox/VMMDev.h \
    5254    ${PATH_ROOT}/include/VBox/VMMDev2.h=>include/VBox/VMMDev2.h \
  • trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h

    r35662 r36190  
    169169# define SUPDRV_USE_MUTEX_FOR_GIP
    170170#endif
     171#define SUPDRV_USE_MUTEX_FOR_LDR /* !!! DONT COMMIT THIS !!! */
    171172
    172173
  • trunk/src/VBox/HostDrivers/Support/freebsd/files_vboxdrv

    r35346 r36190  
    4343    ${PATH_ROOT}/include/iprt/initterm.h=>include/iprt/initterm.h \
    4444    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     45    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    4546    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    4647    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    7677    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
    7778    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
     79    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
    7880    ${PATH_ROOT}/include/VBox/vmm/hwacc_vmx.h=>include/VBox/vmm/hwacc_vmx.h \
    7981    ${PATH_ROOT}/include/VBox/vmm/hwacc_svm.h=>include/VBox/vmm/hwacc_svm.h \
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r33033 r36190  
    263263
    264264# build defs
    265 EXTRA_CFLAGS  += $(INCL) $(KFLAGS) $(KDEBUG)
     265EXTRA_CFLAGS  += -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
    266266
    267267all: $(MODULE)
     
    304304
    305305endif # eq($(MAKECMDGOALS),clean)
     306
     307check: $(MODULE)
     308        @if ! readelf -p __ksymtab_strings vboxdrv.ko | grep -E "\[.*\]  *(RT|g_..*RT.*)"; then \
     309            echo "All exported IPRT symbols are properly renamed!"; \
     310         else \
     311            echo "error: Some exported IPRT symbols was not properly renamed! See above." >&2; \
     312            false; \
     313         fi
     314
  • trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv

    r35346 r36190  
    4444    ${PATH_ROOT}/include/iprt/lockvalidator.h=>include/iprt/lockvalidator.h \
    4545    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     46    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    4647    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    4748    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    7071    ${PATH_ROOT}/include/VBox/sup.h=>include/VBox/sup.h \
    7172    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
     73    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
    7274    ${PATH_ROOT}/include/VBox/vmm/hwacc_vmx.h=>include/VBox/vmm/hwacc_vmx.h \
    7375    ${PATH_ROOT}/include/VBox/vmm/hwacc_svm.h=>include/VBox/vmm/hwacc_svm.h \
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/freebsd/files_vboxnetadp

    r35346 r36190  
    4242    ${PATH_ROOT}/include/iprt/initterm.h=>include/iprt/initterm.h \
    4343    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     44    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    4445    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    4546    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    6869    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
    6970    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
     71    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
    7072    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c=>VBoxNetAdp-freebsd.c \
    7173    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdp.c=>VBoxNetAdp.c \
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile

    r33540 r36190  
    194194
    195195# build defs
    196 EXTRA_CFLAGS  += $(INCL) $(KFLAGS) $(KDEBUG)
     196EXTRA_CFLAGS  += -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
    197197
    198198all: $(MODULE)
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp

    r35346 r36190  
    3232    ${PATH_ROOT}/include/iprt/initterm.h=>include/iprt/initterm.h \
    3333    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     34    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3435    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    3536    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    5859    ${PATH_ROOT}/include/VBox/sup.h=>include/VBox/sup.h \
    5960    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
     61    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
    6062    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c=>linux/VBoxNetAdp-linux.c \
    6163    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdp.c=>VBoxNetAdp.c \
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/files_vboxnetflt

    r35346 r36190  
    4141    ${PATH_ROOT}/include/iprt/initterm.h=>include/iprt/initterm.h \
    4242    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     43    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    4344    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    4445    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    6869    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
    6970    ${PATH_ROOT}/include/VBox/version.h=>include/VBox/version.h \
     71    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
    7072    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c=>VBoxNetFlt-freebsd.c \
    7173    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFlt.c=>VBoxNetFlt.c \
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile

    r33540 r36190  
    198198
    199199# build defs
    200 EXTRA_CFLAGS  += $(INCL) $(KFLAGS) $(KDEBUG)
     200EXTRA_CFLAGS  += -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h $(INCL) $(KFLAGS) $(KDEBUG)
    201201
    202202all: $(MODULE)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt

    r35346 r36190  
    3232    ${PATH_ROOT}/include/iprt/initterm.h=>include/iprt/initterm.h \
    3333    ${PATH_ROOT}/include/iprt/log.h=>include/iprt/log.h \
     34    ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3435    ${PATH_ROOT}/include/iprt/mem.h=>include/iprt/mem.h \
    3536    ${PATH_ROOT}/include/iprt/memobj.h=>include/iprt/memobj.h \
     
    6162    ${PATH_ROOT}/include/VBox/sup.h=>include/VBox/sup.h \
    6263    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
     64    ${PATH_ROOT}/include/VBox/SUPDrvMangling.h=>include/VBox/SUPDrvMangling.h \
    6365    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c=>linux/VBoxNetFlt-linux.c \
    6466    ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFlt.c=>VBoxNetFlt.c \
  • trunk/src/VBox/HostDrivers/linux/Makefile

    r35938 r36190  
    6969        fi
    7070
    71 
    7271install:
    7372        @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv install
     
    9594        rm -f vboxdrv.ko vboxnetflt.ko vboxnetadp.ko vboxpci.ko
    9695
     96check:
     97        @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv check
     98
    9799unload:
    98100        @for module in vboxpci vboxnetadp vboxnetflt vboxdrv; do \
  • trunk/src/VBox/Runtime/common/alloc/alloc.cpp

    r31157 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTMEM_NO_WRAP_TO_EF_APIS
    3132#include <iprt/mem.h>
    3233#include "internal/iprt.h"
     
    3435#include <iprt/assert.h>
    3536#include <iprt/string.h>
    36 
    37 #undef RTMemDup
    38 #undef RTMemDupTag
    39 #undef RTMemDupEx
    40 #undef RTMemDupExTag
    4137
    4238
  • trunk/src/VBox/Runtime/generic/RTSemEventMultiWait-2-ex-generic.cpp

    r32946 r36190  
    3030*******************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_SEM
     32#define RTSEMEVENTMULTI_WITHOUT_REMAPPING
    3233#include <iprt/semaphore.h>
    3334#include "internal/iprt.h"
     
    3738
    3839
    39 #undef RTSemEventMultiWait              /* undo debug mapping */
    4040RTDECL(int)  RTSemEventMultiWait(RTSEMEVENTMULTI hEventMultiSem, RTMSINTERVAL cMillies)
    4141{
  • trunk/src/VBox/Runtime/generic/RTSemEventMultiWait-generic.cpp

    r28800 r36190  
    3030*******************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_SEM
     32#define RTSEMEVENTMULTI_WITHOUT_REMAPPING
    3233#include <iprt/semaphore.h>
    3334#include "internal/iprt.h"
     
    3839
    3940
    40 #undef RTSemEventMultiWait              /* undo debug mapping */
    4141RTDECL(int) RTSemEventMultiWait(RTSEMEVENTMULTI EventSem, RTMSINTERVAL cMillies)
    4242{
  • trunk/src/VBox/Runtime/generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp

    r33010 r36190  
    3131*******************************************************************************/
    3232#define LOG_GROUP RTLOGGROUP_SEM
     33#define RTSEMEVENTMULTI_WITHOUT_REMAPPING
    3334#include <iprt/semaphore.h>
    3435#include "internal/iprt.h"
     
    3839
    3940
    40 #undef RTSemEventMultiWaitNoResume          /* undo debug mapping */
    4141RTDECL(int) RTSemEventMultiWaitNoResume(RTSEMEVENTMULTI hEventMultiSem, RTMSINTERVAL cMillies)
    4242{
  • trunk/src/VBox/Runtime/generic/RTSemEventWait-2-ex-generic.cpp

    r33676 r36190  
    3030*******************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_SEM
     32#define RTSEMEVENT_WITHOUT_REMAPPING
    3233#include <iprt/semaphore.h>
    3334#include "internal/iprt.h"
     
    3738
    3839
    39 #undef RTSemEventWait                   /* undo debug mapping */
    4040RTDECL(int)  RTSemEventWait(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies)
    4141{
  • trunk/src/VBox/Runtime/generic/RTSemEventWait-generic.cpp

    r33036 r36190  
    3030*******************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_SEM
     32#define RTSEMEVENT_WITHOUT_REMAPPING
    3233#include <iprt/semaphore.h>
    3334#include "internal/iprt.h"
     
    3839
    3940
    40 #undef RTSemEventWait                   /* undo debug mapping */
    4141RTDECL(int) RTSemEventWait(RTSEMEVENT EventSem, RTMSINTERVAL cMillies)
    4242{
  • trunk/src/VBox/Runtime/generic/RTSemEventWaitNoResume-2-ex-generic.cpp

    r33036 r36190  
    3131*******************************************************************************/
    3232#define LOG_GROUP RTLOGGROUP_SEM
     33#define RTSEMEVENT_WITHOUT_REMAPPING
    3334#include <iprt/semaphore.h>
    3435#include "internal/iprt.h"
     
    3839
    3940
    40 #undef RTSemEventWaitNoResume               /* undo debug mapping */
    4141RTDECL(int) RTSemEventWaitNoResume(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies)
    4242{
  • trunk/src/VBox/Runtime/generic/RTSemMutexRequest-generic.cpp

    r28800 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMMUTEX_WITHOUT_REMAPPING
    3132#define LOG_GROUP RTLOGGROUP_SEM
    3233#include <iprt/semaphore.h>
     
    3839
    3940
    40 #undef RTSemMutexRequest                /* undo debug mapping */
    4141RTDECL(int) RTSemMutexRequest(RTSEMMUTEX Mutex, RTMSINTERVAL cMillies)
    4242{
  • trunk/src/VBox/Runtime/generic/semrw-generic.cpp

    r33540 r36190  
    3232*   Header Files                                                               *
    3333*******************************************************************************/
     34#define RTSEMRW_WITHOUT_REMAPPING
    3435#include <iprt/semaphore.h>
    3536#include "internal/iprt.h"
     
    8889
    8990
    90 #undef RTSemRWCreate
    9191RTDECL(int) RTSemRWCreate(PRTSEMRW phRWSem)
    9292{
     
    437437
    438438
    439 #undef RTSemRWRequestRead
    440439RTDECL(int) RTSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
    441440{
     
    458457
    459458
    460 #undef RTSemRWRequestReadNoResume
    461459RTDECL(int) RTSemRWRequestReadNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
    462460{
     
    743741
    744742
    745 #undef RTSemRWRequestWrite
    746743RTDECL(int) RTSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
    747744{
     
    764761
    765762
    766 #undef RTSemRWRequestWriteNoResume
    767763RTDECL(int) RTSemRWRequestWriteNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
    768764{
  • trunk/src/VBox/Runtime/generic/semrw-lockless-generic.cpp

    r28800 r36190  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define RTSEMRW_WITHOUT_REMAPPING
    3132#define RTASSERT_QUIET
    3233#include <iprt/semaphore.h>
     
    109110
    110111
    111 #undef RTSemRWCreate
    112112RTDECL(int) RTSemRWCreate(PRTSEMRW phRWSem)
    113113{
     
    426426
    427427
    428 #undef RTSemRWRequestRead
    429428RTDECL(int) RTSemRWRequestRead(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
    430429{
     
    447446
    448447
    449 #undef RTSemRWRequestReadNoResume
    450448RTDECL(int) RTSemRWRequestReadNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
    451449{
     
    717715
    718716
    719 #undef RTSemRWRequestWrite
    720717RTDECL(int) RTSemRWRequestWrite(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
    721718{
     
    738735
    739736
    740 #undef RTSemRWRequestWriteNoResume
    741737RTDECL(int) RTSemRWRequestWriteNoResume(RTSEMRW hRWSem, RTMSINTERVAL cMillies)
    742738{
  • 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.

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