Changeset 53663 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/include
- Timestamp:
- Jan 2, 2015 12:31:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceTypes.h
r53659 r53663 189 189 typedef struct VBoxDtCred 190 190 { 191 int32_t cr_refs; 191 192 RTUID cr_uid; 192 193 RTUID cr_ruid; … … 219 220 uintptr_t t_dtrace_astpc; 220 221 uint32_t t_predcache; 222 struct VBoxDtProcess *t_proc; 221 223 } kthread_t; 222 extern kthread_t*VBoxDtGetCurrentThread(void);224 struct VBoxDtThread *VBoxDtGetCurrentThread(void); 223 225 #define curthread (VBoxDtGetCurrentThread()) 224 226 … … 229 231 RTPROCESS p_pid; 230 232 struct dtrace_helpers *p_dtrace_helpers; 233 struct VBoxDtCred *p_cred; 231 234 } proc_t; 232 235 proc_t *VBoxDtGetCurrentProc(void); … … 280 283 #define cpu_core (g_aVBoxDtCpuCores) 281 284 282 cred_t*VBoxDtGetCurrentCreds(void);285 struct VBoxDtCred *VBoxDtGetCurrentCreds(void); 283 286 #define CRED() VBoxDtGetCurrentCreds() 284 287 … … 386 389 void VBoxDtDdiReportDev(struct VBoxDtDevInfo *pDevInfo); 387 390 391 /* 392 * DTrace bits we've made external. 393 */ 394 extern int dtrace_attach(dev_info_t *devi, ddi_attach_cmd_t cmd); 395 extern int dtrace_ioctl(dev_t dev, int cmd, intptr_t arg, int md, cred_t *cr, int *rv); 396 388 397 #endif /* IN_RING0 */ 389 398
Note:
See TracChangeset
for help on using the changeset viewer.