Home
last modified time | relevance | path

Searched refs:stepped_opcode (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/sh/kernel/
H A Dkgdb.c136 static insn_size_t stepped_opcode; variable
146 stepped_opcode = __raw_readw((long)addr); in do_single_step()
151 instruction_size(stepped_opcode)); in do_single_step()
159 if (stepped_opcode != 0) { in undo_single_step()
160 __raw_writew(stepped_opcode, stepped_address); in undo_single_step()
164 stepped_opcode = 0; in undo_single_step()
/openbmc/linux/arch/riscv/kernel/
H A Dkgdb.c24 static unsigned int stepped_opcode; variable
130 error = get_kernel_nofault(stepped_opcode, (void *)addr); in do_single_step()
148 stepped_opcode = 0; in do_single_step()
156 if (stepped_opcode != 0) { in undo_single_step()
158 (void *)&stepped_opcode, BREAK_INSTR_SIZE); in undo_single_step()
163 stepped_opcode = 0; in undo_single_step()
/openbmc/linux/arch/loongarch/kernel/
H A Dkgdb.c25 static unsigned int stepped_opcode; variable
389 error = get_kernel_nofault(stepped_opcode, (void *)addr); in do_single_step()
401 stepped_opcode = 0; in do_single_step()
414 if (stepped_opcode) { in undo_single_step()
416 (void *)&stepped_opcode, BREAK_INSTR_SIZE); in undo_single_step()
420 stepped_opcode = 0; in undo_single_step()