Home
last modified time | relevance | path

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

/arch/nios2/kernel/
Dkgdb.c31 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
89 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
90 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
91 dbg_reg_def[regno].size); in dbg_get_reg()
93 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
95 return dbg_reg_def[regno].name; in dbg_get_reg()
103 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
104 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
105 dbg_reg_def[regno].size); in dbg_set_reg()
/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 …]
/arch/arm/kernel/
Dkgdb.c20 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
55 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
56 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
57 dbg_reg_def[regno].size); in dbg_get_reg()
59 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
60 return dbg_reg_def[regno].name; in dbg_get_reg()
68 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
69 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
70 dbg_reg_def[regno].size); in dbg_set_reg()
/arch/arm64/kernel/
Dkgdb.c27 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { variable
103 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
104 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
105 dbg_reg_def[regno].size); in dbg_get_reg()
107 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
108 return dbg_reg_def[regno].name; in dbg_get_reg()
116 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
117 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
118 dbg_reg_def[regno].size); in dbg_set_reg()
/arch/powerpc/kernel/
Dkgdb.c272 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
356 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
357 dbg_reg_def[regno].size); in dbg_get_reg()
364 dbg_reg_def[regno].size); in dbg_get_reg()
367 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
371 return dbg_reg_def[regno].name; in dbg_get_reg()
382 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
383 dbg_reg_def[regno].size); in dbg_set_reg()
389 dbg_reg_def[regno].size); in dbg_set_reg()
/arch/sh/kernel/
Dkgdb.c168 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { variable
199 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
200 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
201 dbg_reg_def[regno].size); in dbg_set_reg()
211 if (dbg_reg_def[regno].size != -1) in dbg_get_reg()
212 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
213 dbg_reg_def[regno].size); in dbg_get_reg()
221 return dbg_reg_def[regno].name; in dbg_get_reg()
/arch/tile/kernel/
Dkgdb.c28 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { variable
102 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
103 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
104 dbg_reg_def[regno].size); in dbg_get_reg()
106 memset(mem, 0, dbg_reg_def[regno].size); in dbg_get_reg()
107 return dbg_reg_def[regno].name; in dbg_get_reg()
115 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
116 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
117 dbg_reg_def[regno].size); in dbg_set_reg()
/arch/hexagon/kernel/
Dkgdb.c31 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { variable
96 dbg_reg_def[regno].offset)); in dbg_get_reg()
98 return dbg_reg_def[regno].name; in dbg_get_reg()
106 *((unsigned long *) ((void *)regs + dbg_reg_def[regno].offset)) = in dbg_set_reg()
/arch/x86/kernel/
Dkgdb.c53 struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = variable
107 if (dbg_reg_def[regno].offset != -1) in dbg_set_reg()
108 memcpy((void *)regs + dbg_reg_def[regno].offset, mem, in dbg_set_reg()
109 dbg_reg_def[regno].size); in dbg_set_reg()
122 if (dbg_reg_def[regno].offset != -1) in dbg_get_reg()
123 memcpy(mem, (void *)regs + dbg_reg_def[regno].offset, in dbg_get_reg()
124 dbg_reg_def[regno].size); in dbg_get_reg()
142 return dbg_reg_def[regno].name; in dbg_get_reg()