Changeset 53643 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts
- Timestamp:
- Jan 2, 2015 12:16:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c
r53642 r53643 2247 2247 dtrace_buffer_t *src, *dest; 2248 2248 uintptr_t daddr, saddr, dlimit; 2249 dtrace_speculation_state_t current, new ;2249 dtrace_speculation_state_t current, new VBDTUNASS(-1); 2250 2250 intptr_t offs; 2251 2251 … … 2307 2307 2308 2308 default: 2309 #ifndef VBOX 2309 2310 ASSERT(0); 2311 #else 2312 AssertFatalMsgFailed(("%d\n", current)); 2313 #endif 2310 2314 } 2311 2315 } while (dtrace_cas32((uint32_t *)&spec->dtsp_state, … … 2421 2425 2422 2426 default: 2427 #ifndef VBOX 2423 2428 ASSERT(0); 2429 #else 2430 AssertFatalMsgFailed(("%d\n", current)); 2431 #endif 2424 2432 } 2425 2433 } while (dtrace_cas32((uint32_t *)&spec->dtsp_state, … … 2545 2553 { 2546 2554 dtrace_speculation_t *spec; 2547 dtrace_speculation_state_t current, new ;2555 dtrace_speculation_state_t current, new VBDTUNASS(-1); 2548 2556 dtrace_buffer_t *buf; 2549 2557 … … 2595 2603 2596 2604 default: 2605 #ifndef VBOX 2597 2606 ASSERT(0); 2607 #else 2608 AssertFatalMsgFailed(("%d\n", current)); 2609 #endif 2598 2610 } 2599 2611 } while (dtrace_cas32((uint32_t *)&spec->dtsp_state, … … 3666 3678 uint64_t size = state->dts_options[DTRACEOPT_STRSIZE]; 3667 3679 uintptr_t limit, toklimit = tokaddr + size; 3668 uint8_t c , tokmap[32]; /* 256 / 8 */3680 uint8_t c VBDTUNASS(0), tokmap[32]; /* 256 / 8 */ 3669 3681 char *dest = (char *)mstate->dtms_scratch_ptr; 3670 3682 VBDTTYPE(unsigned,int) i; … … 6609 6621 */ 6610 6622 priv = DTRACE_PRIV_ALL; 6623 #ifdef VBOX 6624 *uidp = ~0; 6625 *zoneidp = 0; 6626 #endif 6611 6627 } else { 6612 6628 *uidp = crgetuid(cr); … … 8014 8030 panic("attempt to unregister non-existent " 8015 8031 "dtrace meta-provider %p\n", (void *)old); 8032 #ifdef VBOX 8033 return EINVAL; 8034 #endif 8016 8035 } 8017 8036 … … 9022 9041 default: 9023 9042 ASSERT(0); 9043 #ifdef VBOX 9044 continue; 9045 #endif 9024 9046 } 9025 9047 … … 13392 13414 uint64_t sarg0 = mstate->dtms_arg[0]; 13393 13415 uint64_t sarg1 = mstate->dtms_arg[1]; 13394 uint64_t rval ;13416 uint64_t rval VBDTUNASS(666); 13395 13417 dtrace_helpers_t *helpers = curproc->p_dtrace_helpers; 13396 13418 dtrace_helper_action_t *helper;
Note:
See TracChangeset
for help on using the changeset viewer.