/SPARTAN/trunk/arch/mips/include/asm.h |
---|
38,7 → 38,6 |
* |
* Return the base address of the current stack. |
* The stack is assumed to be STACK_SIZE bytes long. |
* The stack must start on page boundary. |
*/ |
static inline __address get_stack_base(void) |
{ |
/SPARTAN/trunk/arch/mips/include/context.h |
---|
31,14 → 31,9 |
#include <arch/types.h> |
#define STACK_ITEM_SIZE 4 |
#define SP_DELTA 0 |
/* |
* Put one item onto the stack to support get_stack_base(). |
*/ |
#define SP_DELTA (0+STACK_ITEM_SIZE) |
struct context { |
__u32 r0; |
__u32 r1; |