I was studying the dump_stack function in linux kernel (form arm) and I came across
struct stackframe {
/*
* FP member should hold R7 when CONFIG_THUMB2_KERNEL is enabled
* and R11 otherwise.
*/
unsigned long fp;
unsigned long sp;
unsigned long lr;
unsigned long pc;
};
If this is the complete stack frame, then where are the local variables stored? Is this format generic, for example will U-Boot compiled for the same arch use this exact format for maintaining stack?
-Abhimanyu |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies