/SPARTAN/trunk/arch/ia64/include/context.h |
---|
50,6 → 50,10 |
(c)->bsp = ((__address) stack) + (sizeof(the_t)); \ |
(c)->sp = ((__address) stack) + (size) - SP_DELTA; |
/* |
* Only save registers that must be preserved across |
* function calls. |
*/ |
struct context { |
/* |
/SPARTAN/trunk/arch/ia32/include/context.h |
---|
41,6 → 41,10 |
*/ |
#define SP_DELTA (8+STACK_ITEM_SIZE) |
/* |
* Only save registers that must be preserved across |
* function calls. |
*/ |
struct context { |
__u32 sp; |
__u32 pc; |