• Home
  • Raw
  • Download

Lines Matching refs:gdb_regs

32 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)  in pt_regs_to_gdb_regs()  argument
36 gdb_regs[GDB_FR_D0] = regs->d0; in pt_regs_to_gdb_regs()
37 gdb_regs[GDB_FR_D1] = regs->d1; in pt_regs_to_gdb_regs()
38 gdb_regs[GDB_FR_D2] = regs->d2; in pt_regs_to_gdb_regs()
39 gdb_regs[GDB_FR_D3] = regs->d3; in pt_regs_to_gdb_regs()
40 gdb_regs[GDB_FR_A0] = regs->a0; in pt_regs_to_gdb_regs()
41 gdb_regs[GDB_FR_A1] = regs->a1; in pt_regs_to_gdb_regs()
42 gdb_regs[GDB_FR_A2] = regs->a2; in pt_regs_to_gdb_regs()
43 gdb_regs[GDB_FR_A3] = regs->a3; in pt_regs_to_gdb_regs()
44 gdb_regs[GDB_FR_SP] = (regs->epsw & EPSW_nSL) ? regs->sp : ssp; in pt_regs_to_gdb_regs()
45 gdb_regs[GDB_FR_PC] = regs->pc; in pt_regs_to_gdb_regs()
46 gdb_regs[GDB_FR_MDR] = regs->mdr; in pt_regs_to_gdb_regs()
47 gdb_regs[GDB_FR_EPSW] = regs->epsw; in pt_regs_to_gdb_regs()
48 gdb_regs[GDB_FR_LIR] = regs->lir; in pt_regs_to_gdb_regs()
49 gdb_regs[GDB_FR_LAR] = regs->lar; in pt_regs_to_gdb_regs()
50 gdb_regs[GDB_FR_MDRQ] = regs->mdrq; in pt_regs_to_gdb_regs()
51 gdb_regs[GDB_FR_E0] = regs->e0; in pt_regs_to_gdb_regs()
52 gdb_regs[GDB_FR_E1] = regs->e1; in pt_regs_to_gdb_regs()
53 gdb_regs[GDB_FR_E2] = regs->e2; in pt_regs_to_gdb_regs()
54 gdb_regs[GDB_FR_E3] = regs->e3; in pt_regs_to_gdb_regs()
55 gdb_regs[GDB_FR_E4] = regs->e4; in pt_regs_to_gdb_regs()
56 gdb_regs[GDB_FR_E5] = regs->e5; in pt_regs_to_gdb_regs()
57 gdb_regs[GDB_FR_E6] = regs->e6; in pt_regs_to_gdb_regs()
58 gdb_regs[GDB_FR_E7] = regs->e7; in pt_regs_to_gdb_regs()
59 gdb_regs[GDB_FR_SSP] = ssp; in pt_regs_to_gdb_regs()
60 gdb_regs[GDB_FR_MSP] = 0; in pt_regs_to_gdb_regs()
61 gdb_regs[GDB_FR_USP] = regs->sp; in pt_regs_to_gdb_regs()
62 gdb_regs[GDB_FR_MCRH] = regs->mcrh; in pt_regs_to_gdb_regs()
63 gdb_regs[GDB_FR_MCRL] = regs->mcrl; in pt_regs_to_gdb_regs()
64 gdb_regs[GDB_FR_MCVF] = regs->mcvf; in pt_regs_to_gdb_regs()
65 gdb_regs[GDB_FR_DUMMY0] = 0; in pt_regs_to_gdb_regs()
66 gdb_regs[GDB_FR_DUMMY1] = 0; in pt_regs_to_gdb_regs()
67 gdb_regs[GDB_FR_FS0] = 0; in pt_regs_to_gdb_regs()
74 void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) in sleeping_thread_to_gdb_regs() argument
76 gdb_regs[GDB_FR_SSP] = p->thread.sp; in sleeping_thread_to_gdb_regs()
77 gdb_regs[GDB_FR_PC] = p->thread.pc; in sleeping_thread_to_gdb_regs()
78 gdb_regs[GDB_FR_A3] = p->thread.a3; in sleeping_thread_to_gdb_regs()
79 gdb_regs[GDB_FR_USP] = p->thread.usp; in sleeping_thread_to_gdb_regs()
80 gdb_regs[GDB_FR_FPCR] = p->thread.fpu_state.fpcr; in sleeping_thread_to_gdb_regs()
86 void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) in gdb_regs_to_pt_regs() argument
88 regs->d0 = gdb_regs[GDB_FR_D0]; in gdb_regs_to_pt_regs()
89 regs->d1 = gdb_regs[GDB_FR_D1]; in gdb_regs_to_pt_regs()
90 regs->d2 = gdb_regs[GDB_FR_D2]; in gdb_regs_to_pt_regs()
91 regs->d3 = gdb_regs[GDB_FR_D3]; in gdb_regs_to_pt_regs()
92 regs->a0 = gdb_regs[GDB_FR_A0]; in gdb_regs_to_pt_regs()
93 regs->a1 = gdb_regs[GDB_FR_A1]; in gdb_regs_to_pt_regs()
94 regs->a2 = gdb_regs[GDB_FR_A2]; in gdb_regs_to_pt_regs()
95 regs->a3 = gdb_regs[GDB_FR_A3]; in gdb_regs_to_pt_regs()
96 regs->sp = gdb_regs[GDB_FR_SP]; in gdb_regs_to_pt_regs()
97 regs->pc = gdb_regs[GDB_FR_PC]; in gdb_regs_to_pt_regs()
98 regs->mdr = gdb_regs[GDB_FR_MDR]; in gdb_regs_to_pt_regs()
99 regs->epsw = gdb_regs[GDB_FR_EPSW]; in gdb_regs_to_pt_regs()
100 regs->lir = gdb_regs[GDB_FR_LIR]; in gdb_regs_to_pt_regs()
101 regs->lar = gdb_regs[GDB_FR_LAR]; in gdb_regs_to_pt_regs()
102 regs->mdrq = gdb_regs[GDB_FR_MDRQ]; in gdb_regs_to_pt_regs()
103 regs->e0 = gdb_regs[GDB_FR_E0]; in gdb_regs_to_pt_regs()
104 regs->e1 = gdb_regs[GDB_FR_E1]; in gdb_regs_to_pt_regs()
105 regs->e2 = gdb_regs[GDB_FR_E2]; in gdb_regs_to_pt_regs()
106 regs->e3 = gdb_regs[GDB_FR_E3]; in gdb_regs_to_pt_regs()
107 regs->e4 = gdb_regs[GDB_FR_E4]; in gdb_regs_to_pt_regs()
108 regs->e5 = gdb_regs[GDB_FR_E5]; in gdb_regs_to_pt_regs()
109 regs->e6 = gdb_regs[GDB_FR_E6]; in gdb_regs_to_pt_regs()
110 regs->e7 = gdb_regs[GDB_FR_E7]; in gdb_regs_to_pt_regs()
111 regs->sp = gdb_regs[GDB_FR_SSP]; in gdb_regs_to_pt_regs()
114 regs->mcrh = gdb_regs[GDB_FR_MCRH]; in gdb_regs_to_pt_regs()
115 regs->mcrl = gdb_regs[GDB_FR_MCRL]; in gdb_regs_to_pt_regs()
116 regs->mcvf = gdb_regs[GDB_FR_MCVF]; in gdb_regs_to_pt_regs()