Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/dev/fbt/powerpc/fbt_isa.c
Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | #endif | ||||
fbt->fbtp_patchpoint = instr; | fbt->fbtp_patchpoint = instr; | ||||
fbt->fbtp_ctl = lf; | fbt->fbtp_ctl = lf; | ||||
fbt->fbtp_loadcnt = lf->loadcnt; | fbt->fbtp_loadcnt = lf->loadcnt; | ||||
fbt->fbtp_savedval = *instr; | fbt->fbtp_savedval = *instr; | ||||
fbt->fbtp_patchval = FBT_PATCHVAL; | fbt->fbtp_patchval = FBT_PATCHVAL; | ||||
fbt->fbtp_rval = DTRACE_INVOP_MFLR_R0; | fbt->fbtp_rval = DTRACE_INVOP_MFLR_R0; | ||||
fbt->fbtp_symindx = symindx; | fbt->fbtp_symindx = symindx; | ||||
fbt_update_constvalmask(fbt); | |||||
fbt->fbtp_hashnext = fbt_probetab[FBT_ADDR2NDX(instr)]; | fbt->fbtp_hashnext = fbt_probetab[FBT_ADDR2NDX(instr)]; | ||||
fbt_probetab[FBT_ADDR2NDX(instr)] = fbt; | fbt_probetab[FBT_ADDR2NDX(instr)] = fbt; | ||||
lf->fbt_nentries++; | lf->fbt_nentries++; | ||||
retfbt = NULL; | retfbt = NULL; | ||||
again: | again: | ||||
if (instr >= limit) | if (instr >= limit) | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |