/branches/arm/kernel/arch/arm32/include/context.h |
---|
39,9 → 39,7 |
#include <arch/stack.h> |
/* |
* Put one item onto the stack to support get_stack_base() and align it up. |
*/ |
/* Put one item onto the stack to support get_stack_base() and align it up. */ |
#define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT)) |
49,10 → 47,8 |
#include <arch/types.h> |
/* |
* Only save registers that must be preserved across |
* function calls. |
*/ |
/* Structure containing registers that must be preserved across function calls. */ |
typedef struct { |
uintptr_t sp; |
uintptr_t pc; |
69,6 → 65,7 |
ipl_t ipl; |
} context_t; |
#endif /* __ASM__ */ |
#endif |