Lines Matching full:pc
60 * PC value could be:
78 uintptr_t fp, oldfp, pc, r, sp;
83 pc = PMC_TRAPFRAME_TO_PC(tf);
87 *cc++ = pc; n = 1;
91 if (!PMC_IN_USERSPACE(pc))
94 if (copyin((void *) pc, &instr, sizeof(instr)) != 0)
99 if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
103 if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
105 } else if (copyin((void *) r, &pc, sizeof(pc)) != 0 ||
110 if (pc == 0 || !PMC_IN_USERSPACE(pc))
113 *cc++ = pc; n++;
121 if (copyin((void *) r, &pc, sizeof(pc)) != 0 ||
133 * interrupt was taken. The saved PC could be:
149 * For case (a), we check if the PC lies in low-level trap handling
156 uintptr_t fp, pc, ra, sp;
163 pc = PMC_TRAPFRAME_TO_PC(tf);
167 *cc++ = pc;
173 if (PMC_IN_TRAP_HANDLER(pc) || !PMC_IN_KERNEL(pc) ||
178 instr = *(uint32_t *)pc;
191 pc = *(uintptr_t *) sp;
201 pc = *(uintptr_t *)sp;
206 pc = *(uintptr_t *)ra;
211 *cc++ = pc;
213 if (PMC_IN_TRAP_HANDLER(pc))
219 pc = *(uintptr_t *)ra;