Lines Matching refs:instr
91 unsigned int instr[2]; member
581 regs->nip = (unsigned long) &bp->instr[0]; in xmon_core()
589 int stepped = emulate_step(regs, bp->instr[0]); in xmon_core()
591 regs->nip = (unsigned long) &bp->instr[0]; in xmon_core()
595 (IS_RFID(bp->instr[0])? "rfid": "mtmsrd")); in xmon_core()
733 if (off != offsetof(struct bpt, instr[0]) in in_breakpoint_table()
734 && off != offsetof(struct bpt, instr[1])) in in_breakpoint_table()
736 *offp = off - offsetof(struct bpt, instr[0]); in in_breakpoint_table()
752 bp->instr[1] = bpinstr; in new_breakpoint()
753 store_inst(&bp->instr[1]); in new_breakpoint()
771 if (mread(bp->address, &bp->instr[0], 4) != 4) { in insert_bpts()
777 if (IS_MTMSRD(bp->instr[0]) || IS_RFID(bp->instr[0])) { in insert_bpts()
783 store_inst(&bp->instr[0]); in insert_bpts()
815 unsigned instr; in remove_bpts() local
821 if (mread(bp->address, &instr, 4) == 4 in remove_bpts()
822 && instr == bpinstr in remove_bpts()
823 && mwrite(bp->address, &bp->instr, 4) != 4) in remove_bpts()
999 unsigned int instr; in do_step() local
1004 if (mread(regs->nip, &instr, 4) == 4) { in do_step()
1005 stepped = emulate_step(regs, instr); in do_step()
1008 (IS_RFID(instr)? "rfid": "mtmsrd")); in do_step()
1157 unsigned int instr; in check_bp_loc() local
1164 if (!mread(addr, &instr, sizeof(instr))) { in check_bp_loc()
1168 if (IS_MTMSRD(instr) || IS_RFID(instr)) { in check_bp_loc()