Home
last modified time | relevance | path

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

/linux-5.19.10/arch/mips/kernel/
Dkgdb.c54 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
137 if (dbg_reg_def[regno].offset != -1 && regno < 38) { in dbg_set_reg()
138 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
139 dbg_reg_def[regno].size); in dbg_set_reg()
140 } else if (current && dbg_reg_def[regno].offset != -1 && regno < 72) { in dbg_set_reg()
147 dbg_reg_def[regno].size); in dbg_set_reg()
153 fp_reg = dbg_reg_def[regno].offset; in dbg_set_reg()
155 dbg_reg_def[regno].size); in dbg_set_reg()
170 if (dbg_reg_def[regno].offset != -1 && regno < 38) { in dbg_get_reg()
172 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
[all …]
/linux-5.19.10/arch/nios2/kernel/
Dkgdb.c18 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
76 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
77 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
78 dbg_reg_def[regno].size); in dbg_get_reg()
80 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
82 return dbg_reg_def[regno].name; in dbg_get_reg()
90 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
91 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
92 dbg_reg_def[regno].size); in dbg_set_reg()
/linux-5.19.10/arch/arm/kernel/
Dkgdb.c21 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
56 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
57 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
58 dbg_reg_def[regno].size); in dbg_get_reg()
60 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
61 return dbg_reg_def[regno].name; in dbg_get_reg()
69 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
70 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
71 dbg_reg_def[regno].size); in dbg_set_reg()
/linux-5.19.10/arch/arm64/kernel/
Dkgdb.c23 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { variable
109 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
110 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
111 dbg_reg_def[regno].size); in dbg_get_reg()
113 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
114 return dbg_reg_def[regno].name; in dbg_get_reg()
122 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
123 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
124 dbg_reg_def[regno].size); in dbg_set_reg()
/linux-5.19.10/arch/sh/kernel/
Dkgdb.c167 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { variable
198 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
199 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
200 dbg_reg_def[regno].size); in dbg_set_reg()
210 if (dbg_reg_def[regno].size != -1) in dbg_get_reg()
211 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
212 dbg_reg_def[regno].size); in dbg_get_reg()
220 return dbg_reg_def[regno].name; in dbg_get_reg()
/linux-5.19.10/arch/powerpc/kernel/
Dkgdb.c246 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
330 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
331 dbg_reg_def[regno].size); in dbg_get_reg()
338 dbg_reg_def[regno].size); in dbg_get_reg()
341 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
345 return dbg_reg_def[regno].name; in dbg_get_reg()
356 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
357 dbg_reg_def[regno].size); in dbg_set_reg()
363 dbg_reg_def[regno].size); in dbg_set_reg()
/linux-5.19.10/arch/riscv/kernel/
Dkgdb.c187 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { variable
231 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
232 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
233 dbg_reg_def[regno].size); in dbg_get_reg()
235 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
236 return dbg_reg_def[regno].name; in dbg_get_reg()
244 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
245 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
246 dbg_reg_def[regno].size); in dbg_set_reg()
/linux-5.19.10/arch/hexagon/kernel/
Dkgdb.c19 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { variable
84 dbg_reg_def[regno].offset)); in dbg_get_reg()
86 return dbg_reg_def[regno].name; in dbg_get_reg()
94 *((unsigned long *) ((void *)regs + dbg_reg_def[regno].offset)) = in dbg_set_reg()
/linux-5.19.10/arch/x86/kernel/
Dkgdb.c46 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
100 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
101 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
102 dbg_reg_def[regno].size); in dbg_set_reg()
115 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
116 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
117 dbg_reg_def[regno].size); in dbg_get_reg()
127 return dbg_reg_def[regno].name; in dbg_get_reg()
/linux-5.19.10/kernel/debug/
Dgdbstub.c347 idx += dbg_reg_def[i].size; in pt_regs_to_gdb_regs()
359 idx += dbg_reg_def[i].size; in gdb_regs_to_pt_regs()
590 offset += dbg_reg_def[i].size; in gdb_hex_reg_helper()
592 dbg_reg_def[i].size); in gdb_hex_reg_helper()
/linux-5.19.10/include/linux/
Dkgdb.h93 extern struct dbg_reg_def_t dbg_reg_def[];
/linux-5.19.10/kernel/debug/kdb/
Dkdb_main.c1898 rsize = dbg_reg_def[i].size * 2; in kdb_rd()
1901 if (len + strlen(dbg_reg_def[i].name) + 4 + rsize > 80) { in kdb_rd()
1907 switch(dbg_reg_def[i].size * 8) { in kdb_rd()
1933 len += kdb_printf("%s: ??", dbg_reg_def[i].name); in kdb_rd()
1982 if (strcmp(rname, dbg_reg_def[i].name) == 0) { in kdb_rm()
1988 switch(dbg_reg_def[i].size * 8) { in kdb_rm()