Lines Matching defs:sp
82 uintptr_t fp, oldfp, pc, r, sp;
89 sp = PMC_TRAPFRAME_TO_USER_SP(tf);
103 if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
106 sp += sizeof(uintptr_t);
107 if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
162 uintptr_t fp, pc, r, sp, stackstart, stackend;
171 sp = PMC_TRAPFRAME_TO_KERNEL_SP(tf);
185 !PMC_IN_KERNEL_STACK(sp, stackstart, stackend) ||
198 * *sp, and we don't have a frame to unwind.
202 pc = *(uintptr_t *) sp;
206 * At this point sp[0] has a frame back pointer,
207 * and the caller's address is therefore at sp[1].
209 sp += sizeof(uintptr_t);
210 if (!PMC_IN_KERNEL_STACK(sp, stackstart, stackend))
212 pc = *(uintptr_t *) sp;