Changeset 53663 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common
- Timestamp:
- Jan 2, 2015 12:31:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_subr.c
r53662 r53663 47 47 # include <unistd.h> 48 48 # endif 49 # include <VBox/sup.h> 49 50 #endif /* VBOX */ 50 51 … … 483 484 { 484 485 const dtrace_vector_t *v = dtp->dt_vector; 486 #ifdef VBOX 487 int rc; 488 #endif 485 489 486 490 if (v != NULL) … … 491 495 return (ioctl(dtp->dt_fd, val, arg)); 492 496 #else 497 # if 1 498 rc = SUPR3CallR0Service(RT_STR_TUPLE("VBoxDTrace"), val, (uintptr_t)arg, NULL); 499 if (RT_SUCCESS(rc)) { 500 501 } 502 # else 493 503 /* Fake ioctl */ 494 504 switch (val) { … … 531 541 532 542 } 533 AssertFailed(); /** @todo FIXME */ 543 # endif 534 544 #endif 535 545 … … 538 548 } 539 549 550 #ifndef /* VBOX - who needs this? */ 540 551 int 541 552 dt_status(dtrace_hdl_t *dtp, processorid_t cpu) … … 553 564 return (v->dtv_status(dtp->dt_varg, cpu)); 554 565 } 566 #endif 555 567 556 568 #ifndef VBOX
Note:
See TracChangeset
for help on using the changeset viewer.