Searched refs:kernel_regs (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/arch/arc/kernel/ |
H A D | kgdb.c | 16 static void to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *kernel_regs, to_gdb_regs() argument 22 gdb_regs[_R0 + regno] = get_reg(regno, kernel_regs, cregs); to_gdb_regs() 27 gdb_regs[_FP] = kernel_regs->fp; to_gdb_regs() 28 gdb_regs[__SP] = kernel_regs->sp; to_gdb_regs() 29 gdb_regs[_BLINK] = kernel_regs->blink; to_gdb_regs() 30 gdb_regs[_RET] = kernel_regs->ret; to_gdb_regs() 31 gdb_regs[_STATUS32] = kernel_regs->status32; to_gdb_regs() 32 gdb_regs[_LP_COUNT] = kernel_regs->lp_count; to_gdb_regs() 33 gdb_regs[_LP_END] = kernel_regs->lp_end; to_gdb_regs() 34 gdb_regs[_LP_START] = kernel_regs->lp_start; to_gdb_regs() 35 gdb_regs[_BTA] = kernel_regs->bta; to_gdb_regs() 36 gdb_regs[_STOP_PC] = kernel_regs->ret; to_gdb_regs() 39 static void from_gdb_regs(unsigned long *gdb_regs, struct pt_regs *kernel_regs, from_gdb_regs() argument 45 set_reg(regno, gdb_regs[regno + _R0], kernel_regs, cregs); from_gdb_regs() 47 kernel_regs->fp = gdb_regs[_FP]; from_gdb_regs() 48 kernel_regs->sp = gdb_regs[__SP]; from_gdb_regs() 49 kernel_regs->blink = gdb_regs[_BLINK]; from_gdb_regs() 50 kernel_regs->ret = gdb_regs[_RET]; from_gdb_regs() 51 kernel_regs->status32 = gdb_regs[_STATUS32]; from_gdb_regs() 52 kernel_regs->lp_count = gdb_regs[_LP_COUNT]; from_gdb_regs() 53 kernel_regs->lp_end = gdb_regs[_LP_END]; from_gdb_regs() 54 kernel_regs->lp_start = gdb_regs[_LP_START]; from_gdb_regs() 55 kernel_regs->bta = gdb_regs[_BTA]; from_gdb_regs() 59 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *kernel_regs) pt_regs_to_gdb_regs() argument 61 to_gdb_regs(gdb_regs, kernel_regs, (struct callee_regs *) pt_regs_to_gdb_regs() 65 void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *kernel_regs) gdb_regs_to_pt_regs() argument 67 from_gdb_regs(gdb_regs, kernel_regs, (struct callee_regs *) gdb_regs_to_pt_regs()
|
Completed in 60 milliseconds