• Home
  • Raw
  • Download

Lines Matching refs:gdb_regs

157 void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p)  in sleeping_thread_to_gdb_regs()  argument
160 u32 *gdb_regs32 = (u32 *)gdb_regs; in sleeping_thread_to_gdb_regs()
162 gdb_regs[GDB_AX] = 0; in sleeping_thread_to_gdb_regs()
163 gdb_regs[GDB_BX] = 0; in sleeping_thread_to_gdb_regs()
164 gdb_regs[GDB_CX] = 0; in sleeping_thread_to_gdb_regs()
165 gdb_regs[GDB_DX] = 0; in sleeping_thread_to_gdb_regs()
166 gdb_regs[GDB_SI] = 0; in sleeping_thread_to_gdb_regs()
167 gdb_regs[GDB_DI] = 0; in sleeping_thread_to_gdb_regs()
168 gdb_regs[GDB_BP] = *(unsigned long *)p->thread.sp; in sleeping_thread_to_gdb_regs()
170 gdb_regs[GDB_DS] = __KERNEL_DS; in sleeping_thread_to_gdb_regs()
171 gdb_regs[GDB_ES] = __KERNEL_DS; in sleeping_thread_to_gdb_regs()
172 gdb_regs[GDB_PS] = 0; in sleeping_thread_to_gdb_regs()
173 gdb_regs[GDB_CS] = __KERNEL_CS; in sleeping_thread_to_gdb_regs()
174 gdb_regs[GDB_PC] = p->thread.ip; in sleeping_thread_to_gdb_regs()
175 gdb_regs[GDB_SS] = __KERNEL_DS; in sleeping_thread_to_gdb_regs()
176 gdb_regs[GDB_FS] = 0xFFFF; in sleeping_thread_to_gdb_regs()
177 gdb_regs[GDB_GS] = 0xFFFF; in sleeping_thread_to_gdb_regs()
182 gdb_regs[GDB_PC] = 0; in sleeping_thread_to_gdb_regs()
183 gdb_regs[GDB_R8] = 0; in sleeping_thread_to_gdb_regs()
184 gdb_regs[GDB_R9] = 0; in sleeping_thread_to_gdb_regs()
185 gdb_regs[GDB_R10] = 0; in sleeping_thread_to_gdb_regs()
186 gdb_regs[GDB_R11] = 0; in sleeping_thread_to_gdb_regs()
187 gdb_regs[GDB_R12] = 0; in sleeping_thread_to_gdb_regs()
188 gdb_regs[GDB_R13] = 0; in sleeping_thread_to_gdb_regs()
189 gdb_regs[GDB_R14] = 0; in sleeping_thread_to_gdb_regs()
190 gdb_regs[GDB_R15] = 0; in sleeping_thread_to_gdb_regs()
192 gdb_regs[GDB_SP] = p->thread.sp; in sleeping_thread_to_gdb_regs()