/kernel/trunk/arch/mips32/include/context.h |
---|
29,12 → 29,13 |
#ifndef __mips32_CONTEXT_H__ |
#define __mips32_CONTEXT_H__ |
#define STACK_ITEM_SIZE 4 |
#include <align.h> |
#include <arch/stack.h> |
/* |
* Put one item onto the stack to support get_stack_base() and align it up to 8 bytes boundary. |
* Put one item onto the stack to support get_stack_base() and align it up. |
*/ |
#define SP_DELTA ((0 + STACK_ITEM_SIZE + 7) & (~7)) |
#define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT)) |
#ifndef __ASM__ |