Rev 2083 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2083 | Rev 2441 | ||
|---|---|---|---|
| Line 43... | Line 43... | ||
| 43 | * Both context_save() and context_restore() eat two doublewords from the stack. |
43 | * Both context_save() and context_restore() eat two doublewords from the stack. |
| 44 | * First for pop of the saved register, second during ret instruction. |
44 | * First for pop of the saved register, second during ret instruction. |
| 45 | * |
45 | * |
| 46 | * One item is put onto stack to support get_stack_base(). |
46 | * One item is put onto stack to support get_stack_base(). |
| 47 | */ |
47 | */ |
| 48 | #define SP_DELTA (8+STACK_ITEM_SIZE) |
48 | #define SP_DELTA (8 + STACK_ITEM_SIZE) |
| 49 | 49 | ||
| 50 | /* |
50 | /* |
| 51 | * Only save registers that must be preserved across |
51 | * Only save registers that must be preserved across |
| 52 | * function calls. |
52 | * function calls. |
| 53 | */ |
53 | */ |