[OpenAFS-devel] What's the sparc code doing with the frame pointer in process.c?
Derek Atkins
warlord@MIT.EDU
05 Feb 2001 13:46:43 -0500
Looks like it's building a new stack frame.
-derek
Adam Thornton <adam@fsf.net> writes:
> I'm still not getting processes to correctly dispatch under 1.0.2 on
> Linux/390.
>
> I notice that in the process.c code, that the sparc Linux contains an
> entry for the frame pointer register as well. However, I really don't
> understand the line that makes use of it, namely:
>
> jmpBuffer[LWP_FP] = (jmp_buf_type)sp;
>
> Why are we setting the stack pointer into the frame pointer register
> (or, I guess, into the slot that's going to become the FP register in
> the longjmp, if you want to be pedantic)? I don't want to try this code
> on the S/390 side until I understand what's going on here.
>
> Adam
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available