VirtualBox

Ignore:
Timestamp:
Jan 2, 2015 12:31:45 PM (10 years ago)
Author:
vboxsync
Message:

VBoxDTrace: working on the interfaces between the two modules... (r40)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h

    r53659 r53663  
    189189typedef struct VBoxDtCred
    190190{
     191    int32_t                 cr_refs;
    191192    RTUID                   cr_uid;
    192193    RTUID                   cr_ruid;
     
    219220    uintptr_t               t_dtrace_astpc;
    220221    uint32_t                t_predcache;
     222    struct VBoxDtProcess   *t_proc;
    221223} kthread_t;
    222 extern kthread_t *VBoxDtGetCurrentThread(void);
     224struct VBoxDtThread *VBoxDtGetCurrentThread(void);
    223225#define curthread               (VBoxDtGetCurrentThread())
    224226
     
    229231    RTPROCESS               p_pid;
    230232    struct dtrace_helpers  *p_dtrace_helpers;
     233    struct VBoxDtCred      *p_cred;
    231234} proc_t;
    232235proc_t *VBoxDtGetCurrentProc(void);
     
    280283#define cpu_core                (g_aVBoxDtCpuCores)
    281284
    282 cred_t *VBoxDtGetCurrentCreds(void);
     285struct VBoxDtCred *VBoxDtGetCurrentCreds(void);
    283286#define CRED()                  VBoxDtGetCurrentCreds()
    284287
     
    386389void    VBoxDtDdiReportDev(struct VBoxDtDevInfo *pDevInfo);
    387390
     391/*
     392 * DTrace bits we've made external.
     393 */
     394extern int dtrace_attach(dev_info_t *devi, ddi_attach_cmd_t cmd);
     395extern int dtrace_ioctl(dev_t dev, int cmd, intptr_t arg, int md, cred_t *cr, int *rv);
     396
    388397#endif /* IN_RING0 */
    389398
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