Home
last modified time | relevance | path

Searched refs:dbg_reg_def (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/arch/mips/kernel/
Dkgdb.c53 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
136 if (dbg_reg_def[regno].offset != -1 && regno < 38) { in dbg_set_reg()
137 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
138 dbg_reg_def[regno].size); in dbg_set_reg()
139 } else if (current && dbg_reg_def[regno].offset != -1 && regno < 72) { in dbg_set_reg()
146 dbg_reg_def[regno].size); in dbg_set_reg()
152 fp_reg = dbg_reg_def[regno].offset; in dbg_set_reg()
154 dbg_reg_def[regno].size); in dbg_set_reg()
169 if (dbg_reg_def[regno].offset != -1 && regno < 38) { in dbg_get_reg()
171 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
[all …]
/linux-2.6.39/arch/arm/kernel/
Dkgdb.c17 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
52 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
53 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
54 dbg_reg_def[regno].size); in dbg_get_reg()
56 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
57 return dbg_reg_def[regno].name; in dbg_get_reg()
65 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
66 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
67 dbg_reg_def[regno].size); in dbg_set_reg()
/linux-2.6.39/arch/powerpc/kernel/
Dkgdb.c249 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
333 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
334 dbg_reg_def[regno].size); in dbg_get_reg()
341 dbg_reg_def[regno].size); in dbg_get_reg()
344 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
348 return dbg_reg_def[regno].name; in dbg_get_reg()
359 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
360 dbg_reg_def[regno].size); in dbg_set_reg()
366 dbg_reg_def[regno].size); in dbg_set_reg()
/linux-2.6.39/arch/x86/kernel/
Dkgdb.c53 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
105 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
106 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
107 dbg_reg_def[regno].size); in dbg_set_reg()
120 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
121 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
122 dbg_reg_def[regno].size); in dbg_get_reg()
140 return dbg_reg_def[regno].name; in dbg_get_reg()
/linux-2.6.39/kernel/debug/
Dgdbstub.c339 idx += dbg_reg_def[i].size; in pt_regs_to_gdb_regs()
351 idx += dbg_reg_def[i].size; in gdb_regs_to_pt_regs()
582 offset += dbg_reg_def[i].size; in gdb_hex_reg_helper()
584 dbg_reg_def[i].size); in gdb_hex_reg_helper()
/linux-2.6.39/include/linux/
Dkgdb.h92 extern struct dbg_reg_def_t dbg_reg_def[];
/linux-2.6.39/kernel/debug/kdb/
Dkdb_main.c1806 rsize = dbg_reg_def[i].size * 2; in kdb_rd()
1809 if (len + strlen(dbg_reg_def[i].name) + 4 + rsize > 80) { in kdb_rd()
1815 switch(dbg_reg_def[i].size * 8) { in kdb_rd()
1841 len += kdb_printf("%s: ??", dbg_reg_def[i].name); in kdb_rd()
1890 if (strcmp(rname, dbg_reg_def[i].name) == 0) { in kdb_rm()
1896 switch(dbg_reg_def[i].size * 8) { in kdb_rm()