VirtualBox

Ignore:
Timestamp:
Jan 2, 2015 12:33:14 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97445
Message:

VBoxDTrace: More unresolved ring-0 stuff. (r45)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c

    r53667 r53668  
    1251112511#endif
    1251212512{
     12513#ifndef VBOX
    1251312514        minor_t minor;
    1251412515        major_t major;
     12516#endif
    1251512517        char c[30];
    1251612518        dtrace_state_t *state;
     
    1253912541        state->dts_epid = DTRACE_EPIDNONE + 1;
    1254012542
     12543#ifndef VBOX
    1254112544        (void) snprintf(c, sizeof (c), "dtrace_aggid_%d", minor);
     12545#else
     12546        (void) snprintf(c, sizeof (c), "dtrace_aggid_%p", state);
     12547#endif
    1254212548        state->dts_aggid_arena = vmem_create(c, (void *)1, UINT32_MAX, 1,
    1254312549            NULL, NULL, NULL, 0, VM_SLEEP | VMC_IDENTIFIER);
     
    1478514791        dtrace_enabling_t *enab;
    1478614792
     14793#ifndef VBOX
     14794        if (   VBoxDtMutexInit(&dtrace_lock)
     14795            || VBoxDtMutexInit(&dtrace_provider_lock)
     14796            || VBoxDtMutexInit(&dtrace_meta_lock)
     14797# ifdef DEBUG
     14798            || VBoxDtMutexInit(&dtrace_errlock);
     14799# endif
     14800            )
     14801            return (DDI_FAILURE);
     14802#endif
     14803
    1478714804        mutex_enter(&cpu_lock);
    1478814805        mutex_enter(&dtrace_provider_lock);
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