Changeset View
Changeset View
Standalone View
Standalone View
sys/cddl/dev/fbt/aarch64/fbt_isa.c
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | fbt_provide_module_function(linker_file_t lf, int symindx, | ||||
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_PUSHM; | fbt->fbtp_rval = DTRACE_INVOP_PUSHM; | ||||
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: | ||||
for (; instr < limit; instr++) { | for (; instr < limit; instr++) { | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |