Rev 443 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 443 | Rev 445 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | * context_save() and context_restore() are both leaf procedures. |
38 | * context_save() and context_restore() are both leaf procedures. |
39 | * No need to allocate scratch area. |
39 | * No need to allocate scratch area. |
40 | * |
40 | * |
41 | * One item is put onto the stack to support get_stack_base(). |
41 | * One item is put onto the stack to support get_stack_base(). |
42 | */ |
42 | */ |
43 | #define SP_DELTA (0+STACK_ITEM_SIZE) |
43 | #define SP_DELTA (0+ALIGN(STACK_ITEM_SIZE, STACK_ALIGNMENT)) |
44 | 44 | ||
45 | #define PFM_MASK (~0x3fffffffff) |
45 | #define PFM_MASK (~0x3fffffffff) |
46 | 46 | ||
47 | #ifdef context_set |
47 | #ifdef context_set |
48 | #undef context_set |
48 | #undef context_set |