Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sh/kernel/
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()
/linux-6.1.9/arch/riscv/kernel/
Dkgdb.c24 static unsigned int stepped_opcode; variable
149 error = get_kernel_nofault(stepped_opcode, (void *)addr); in do_single_step()
167 stepped_opcode = 0; in do_single_step()
175 if (stepped_opcode != 0) { in undo_single_step()
177 (void *)&stepped_opcode, BREAK_INSTR_SIZE); in undo_single_step()
182 stepped_opcode = 0; in undo_single_step()