Lines Matching defs:badaddr
75 do_unaligned(struct regs *rp, caddr_t *badaddr)
222 if (getreg(rp, rs1, &val, badaddr))
236 if (getreg(rp, rs2, &val, badaddr))
257 *badaddr = addr;
314 if (getreg(rp, rd, &data.l[0], badaddr))
316 if (getreg(rp, rd+1, &data.l[1], badaddr))
332 if (getreg(rp, rd, &data.l[0], badaddr))
544 if (putreg(&data.l[0], rp, rd, badaddr) == -1)
546 if (putreg(&data.l[1], rp, rd+1, badaddr) == -1)
549 if (putreg(&data.l[0], rp, rd, badaddr) == -1)
561 simulate_lddstd(struct regs *rp, caddr_t *badaddr)
629 if (getreg(rp, rs1, &val, badaddr))
641 if (getreg(rp, rs2, &val, badaddr))
654 return (do_unaligned(rp, badaddr));
672 if (getreg(rp, rd, &reven, badaddr))
674 if (getreg(rp, rd+1, &rodd, badaddr))
705 if (putreg(&reven, rp, rd, badaddr) == -1)
707 if (putreg(&rodd, rp, rd+1, badaddr) == -1)
718 simulate_popc(struct regs *rp, caddr_t *badaddr, uint_t inst)
745 if (getreg(rp, rs2, &val, badaddr))
753 if (putreg(&cnt, rp, rd, badaddr) == -1)
763 simulate_mulscc(struct regs *rp, caddr_t *badaddr, uint_t inst)
786 if (getreg(rp, rs2, &drs2, badaddr)) {
793 if (getreg(rp, rs1, &drs1, badaddr)) {
830 if (putreg(&ud64, rp, rd, badaddr)) {
845 simulate_unimp(struct regs *rp, caddr_t *badaddr)
916 return (simulate_popc(rp, badaddr, inst));
920 return (simulate_mulscc(rp, badaddr, inst));
926 return (do_unaligned(rp, badaddr));
1148 caddr_t badaddr;
1167 if (putreg(&tick, rp, rd, &badaddr) == 0)
1173 if (putreg(&stick, rp, rd, &badaddr) == 0)
1185 * save the faulting address using badaddr pointer.
1190 getreg(struct regs *rp, uint_t reg, uint64_t *val, caddr_t *badaddr)
1208 *badaddr = (caddr_t)addr;
1223 *badaddr = (caddr_t)addr;
1238 * save the faulting address using badaddr pointer.
1243 putreg(uint64_t *data, struct regs *rp, uint_t reg, caddr_t *badaddr)
1264 *badaddr = (caddr_t)addr;
1288 *badaddr = (caddr_t)addr;
1313 calc_memaddr(struct regs *rp, caddr_t *badaddr)
1379 if (getreg(rp, rs1, &val, badaddr))
1391 if (getreg(rp, rs2, &val, badaddr))
1408 *badaddr = addr;
1427 caddr_t badaddr;
1517 if (getreg(rp, rs1, &val, &badaddr))
1537 if (getreg(rp, rs2, &val, &badaddr))