Lines Matching defs:code
11 * Some code taken from sh version:
13 * Some code taken from arm version:
416 unsigned long next_insn, unsigned long *code)
430 *code = (next_insn & 0xffff0000) | 0x10f1;
433 *code = 0x10f17000;
436 *code = (next_insn & 0xffff) | 0x10f10000;
444 unsigned long *code)
461 /* Recover original instruction code. */
462 *code = p->insn[i];
516 /* Embed a debug trap (TRAP1) code */
520 unsigned long next_insn, code;
528 /* Set a trap code. */
529 if (register_debug_trap(child, next_pc, next_insn, &code)) {
532 if (access_process_vm(child, addr, &code, sizeof(code), 1)
533 != sizeof(code)) {
543 unsigned long code;
547 if (unregister_debug_trap(current, addr, &code)) {
548 access_process_vm(current, addr, &code, sizeof(code), 1);