Re: [PATCH] 2.5.21 kill warnings 4/19

From: Russell King (rmk@arm.linux.org.uk)
Date: Tue Jun 11 2002 - 05:36:29 EST


On Tue, Jun 11, 2002 at 11:42:51AM +0200, Martin Dalecki wrote:
> Well I surely understand what a pointer to the local variable set is.
> I know pascal and gdb well enough :-). However what I may have
> missed is that ARM is using some other task switch mechanism.
> I would be courious to see what it is?

Frame pointer - used to reference the function return state, and function
arguments. Optional.

Stack pointer - used to reference the function local variables. In the
absence of the frame pointer, this is also used to reference the function
return state and the function arguments.

As you can see, it has nothing to do with task switch mechanisms.

I suggest you revise your "pascal and gdb" and "task switch mechanism"
knowledge. I don't believe ARM is special in doing the above. In fact,
the above is probably very common indeed.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:22 EST