Rev 534 | Rev 1055 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 534 | Rev 1054 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | #define __mips32_CONTEXT_H__ |
30 | #define __mips32_CONTEXT_H__ |
| 31 | 31 | ||
| 32 | #define STACK_ITEM_SIZE 4 |
32 | #define STACK_ITEM_SIZE 4 |
| 33 | 33 | ||
| 34 | /* |
34 | /* |
| 35 | * Put one item onto the stack to support get_stack_base(). |
35 | * Put one item onto the stack to support get_stack_base() and align it up to 8 bytes boundary. |
| 36 | */ |
36 | */ |
| 37 | #define SP_DELTA (0+STACK_ITEM_SIZE) |
37 | #define SP_DELTA ((0 + STACK_ITEM_SIZE + 7) & (~7)) |
| 38 | 38 | ||
| 39 | 39 | ||
| 40 | #ifndef __ASM__ |
40 | #ifndef __ASM__ |
| 41 | 41 | ||
| 42 | #ifndef __mips32_TYPES_H__ |
42 | #ifndef __mips32_TYPES_H__ |