Lines Matching defs:instr
103 struct ppc_inst *instr;
705 regs->nip = (unsigned long) &bp->instr[0];
713 int stepped = emulate_step(regs, ppc_inst_read(bp->instr));
715 regs->nip = (unsigned long) &bp->instr[0];
719 IS_RFID(ppc_inst_read(bp->instr))? "rfid": "mtmsrd");
766 /* Are we at the trap at bp->instr[1] for some bp? */
894 bp->instr = (void *)(bpt_table + ((bp - bpts) * BPT_WORDS));
906 struct ppc_inst instr, instr2;
913 if (!mread_instr(bp->address, &instr)) {
919 if (IS_MTMSRD(instr) || IS_RFID(instr)) {
941 if (bp2 && ppc_inst_prefixed(ppc_inst_read(bp2->instr))) {
948 patch_instruction(bp->instr, instr);
949 patch_instruction(ppc_inst_next(bp->instr, &instr),
986 struct ppc_inst instr;
992 if (mread_instr(bp->address, &instr)
993 && ppc_inst_equal(instr, ppc_inst(bpinstr))
995 (struct ppc_inst *)bp->address, ppc_inst_read(bp->instr)) != 0)
1202 struct ppc_inst instr;
1208 if (mread_instr(regs->nip, &instr)) {
1209 stepped = emulate_step(regs, instr);
1212 (IS_RFID(instr)? "rfid": "mtmsrd"));
1368 struct ppc_inst instr;
1375 if (!mread_instr(addr, &instr)) {
1379 if (IS_MTMSRD(instr) || IS_RFID(instr)) {
1419 "b <addr> [cnt] set breakpoint at given instr addr\n"
1422 "bi <addr> [cnt] set hardware instr breakpoint (POWER8 only)\n"
1474 case 'i': /* bi - hardware instr breakpoint */
2214 mread_instr(unsigned long adrs, struct ppc_inst *instr)
2222 *instr = ppc_inst_read((struct ppc_inst *)adrs);
2226 n = ppc_inst_len(*instr);