VirtualBox

Changeset 40975 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Apr 18, 2012 2:49:24 PM (13 years ago)
Author:
vboxsync
Message:

VBoxTpG,SUPDrv,VBoxVMM: Working on static user land probes for the non-native platforms.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r40861 r40975  
    313313        SUPDrvTracer.cpp \
    314314        SUPDrv.d
    315  ifdef VBOX_WITH_NATIVE_DTRACE_R0DRV
     315 ifdef VBOX_WITH_NATIVE_DTRACE
    316316  VBoxDrv_SOURCES        += \
    317317        SUPDrv-dtrace.cpp
  • trunk/src/VBox/HostDrivers/Support/SUPDrv-dtrace.cpp

    r40898 r40975  
    218218    dtrace_provider_id_t    idProvider   = pProv->TracerData.DTrace.idProvider;
    219219    AssertPtrReturnVoid(idProvider);
    220    
     220
    221221    AssertPtrReturnVoid(pProv->pHdr);
    222222    PVTGPROBELOC            pProbeLoc    = pProv->pHdr->paProbLocs;
     
    837837}
    838838
    839 #ifndef VBOX_WITH_NATIVE_DTRACE_R0DRV
    840 # error "VBOX_WITH_NATIVE_DTRACE_R0DRV is not defined as it should"
     839#ifndef VBOX_WITH_NATIVE_DTRACE
     840# error "VBOX_WITH_NATIVE_DTRACE is not defined as it should"
    841841#endif
    842842
  • trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h

    r40851 r40975  
    661661DECLASM(void)   supdrvTracerProbeFireStub(void);
    662662
    663 #ifdef VBOX_WITH_NATIVE_DTRACE_R0DRV
     663#ifdef VBOX_WITH_NATIVE_DTRACE
    664664const SUPDRVTRACERREG * VBOXCALL supdrvDTraceInit(void);
    665665#endif
  • trunk/src/VBox/HostDrivers/Support/SUPDrvTracer.cpp

    r40892 r40975  
    14241424        RTListInit(&pDevExt->TracerProviderZombieList);
    14251425
    1426 #ifdef VBOX_WITH_NATIVE_DTRACE_R0DRV
     1426#ifdef VBOX_WITH_NATIVE_DTRACE
    14271427        pDevExt->pTracerOps = supdrvDTraceInit();
    14281428        if (pDevExt->pTracerOps)
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r40820 r40975  
    23872387}
    23882388
     2389extern "C"
     2390{
     2391    SUPDECL(void) SUPTracerFireProbe(uint32_t idProbe, uintptr_t uArg0, uintptr_t uArg1, uintptr_t uArg2,
     2392                                     uintptr_t uArg3, uintptr_t uArg4);
     2393}
     2394
     2395SUPDECL(void) SUPTracerFireProbe(uint32_t idProbe, uintptr_t uArg0, uintptr_t uArg1, uintptr_t uArg2,
     2396                                 uintptr_t uArg3, uintptr_t uArg4)
     2397{
     2398    /* C and stubbed for now. */
     2399}
     2400
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