Lines Matching defs:rp
499 void do_interrupt(struct regs *rp, trap_trace_rec_t *ttp);
524 * The 'pil' is already set to the appropriate level for rp->r_trapno.
527 hilevel_intr_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, struct regs *rp)
538 if (USERMODE(rp->r_cs)) {
540 cpu->cpu_profile_upc = rp->r_pc;
542 cpu->cpu_cpcprofile_upc = rp->r_pc;
544 cpu->cpu_profile_pc = rp->r_pc;
546 cpu->cpu_cpcprofile_pc = rp->r_pc;
1339 do_interrupt(struct regs *rp, trap_trace_rec_t *ttp)
1361 if (rp->r_trapno == T_SOFTINT) {
1362 dosoftint(rp);
1370 newipl = (*setlvl)(oldipl, (int *)&rp->r_trapno);
1381 vector = rp->r_trapno;
1389 if (hilevel_intr_prolog(cpu, newipl, oldipl, rp) == 0) {
1400 newsp = intr_thread_prolog(cpu, (caddr_t)rp, newipl);
1409 dosoftint(rp);
1419 sys_rtt_common(struct regs *rp)
1433 if (USERMODE(rp->r_cs)) {
1442 rp->r_trapno = T_AST;
1443 trap(rp, (caddr_t)0, CPU->cpu_id);
1455 if (update_sregs(rp, tp->t_lwp)) {
1480 if (CPU->cpu_kprunrun && (rp->r_ps & PS_IE)) {
1499 if ((uintptr_t)rp->r_pc - (uintptr_t)mutex_exit_critical_start <
1501 rp->r_pc = (greg_t)mutex_exit_critical_start;
1510 if ((uintptr_t)rp->r_pc -
1513 rp->r_pc = (greg_t)mutex_owner_running_critical_start;