Lines Matching refs:kdp
80 kgdb_enter(struct pt_regs *regs, kgdb_data *kdp) in kgdb_enter() argument
84 kdp->private[0] = msr = get_msr(); in kgdb_enter()
94 kdp->sigval = computeSignal(regs->trap); in kgdb_enter()
96 kdp->nregs = 2; in kgdb_enter()
98 kdp->regs[0].num = PC_REGNUM; in kgdb_enter()
99 kdp->regs[0].val = regs->nip; in kgdb_enter()
101 kdp->regs[1].num = SP_REGNUM; in kgdb_enter()
102 kdp->regs[1].val = regs->gpr[SP_REGNUM]; in kgdb_enter()
106 kgdb_exit(struct pt_regs *regs, kgdb_data *kdp) in kgdb_exit() argument
108 unsigned long msr = kdp->private[0]; in kgdb_exit()
110 if (kdp->extype & KGDBEXIT_WITHADDR) in kgdb_exit()
111 regs->nip = kdp->exaddr; in kgdb_exit()
113 switch (kdp->extype & KGDBEXIT_TYPEMASK) { in kgdb_exit()