Lines Matching defs:esr
205 static int call_step_hook(struct pt_regs *regs, unsigned long esr)
218 retval = hook->fn(regs, esr);
241 static int single_step_handler(unsigned long unused, unsigned long esr,
253 if (!handler_found && call_step_hook(regs, esr) == DBG_HOOK_HANDLED)
302 static int call_break_hook(struct pt_regs *regs, unsigned long esr)
306 int (*fn)(struct pt_regs *regs, unsigned long esr) = NULL;
315 unsigned long comment = esr & ESR_ELx_BRK64_ISS_COMMENT_MASK;
321 return fn ? fn(regs, esr) : DBG_HOOK_ERROR;
325 static int brk_handler(unsigned long unused, unsigned long esr,
328 if (call_break_hook(regs, esr) == DBG_HOOK_HANDLED)