Lines Matching refs:instr
91 unsigned int instr[2]; member
580 regs->nip = (unsigned long) &bp->instr[0]; in xmon_core()
588 int stepped = emulate_step(regs, bp->instr[0]); in xmon_core()
590 regs->nip = (unsigned long) &bp->instr[0]; in xmon_core()
594 (IS_RFID(bp->instr[0])? "rfid": "mtmsrd")); in xmon_core()
732 if (off != offsetof(struct bpt, instr[0]) in in_breakpoint_table()
733 && off != offsetof(struct bpt, instr[1])) in in_breakpoint_table()
735 *offp = off - offsetof(struct bpt, instr[0]); in in_breakpoint_table()
751 bp->instr[1] = bpinstr; in new_breakpoint()
752 store_inst(&bp->instr[1]); in new_breakpoint()
770 if (mread(bp->address, &bp->instr[0], 4) != 4) { in insert_bpts()
776 if (IS_MTMSRD(bp->instr[0]) || IS_RFID(bp->instr[0])) { in insert_bpts()
782 store_inst(&bp->instr[0]); in insert_bpts()
814 unsigned instr; in remove_bpts() local
820 if (mread(bp->address, &instr, 4) == 4 in remove_bpts()
821 && instr == bpinstr in remove_bpts()
822 && mwrite(bp->address, &bp->instr, 4) != 4) in remove_bpts()
985 unsigned int instr; in do_step() local
990 if (mread(regs->nip, &instr, 4) == 4) { in do_step()
991 stepped = emulate_step(regs, instr); in do_step()
994 (IS_RFID(instr)? "rfid": "mtmsrd")); in do_step()
1143 unsigned int instr; in check_bp_loc() local
1150 if (!mread(addr, &instr, sizeof(instr))) { in check_bp_loc()
1154 if (IS_MTMSRD(instr) || IS_RFID(instr)) { in check_bp_loc()