Rev 2166 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2166 | Rev 2190 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef KERN_arm32_CONTEXT_H_ |
35 | #ifndef KERN_arm32_CONTEXT_H_ |
36 | #define KERN_arm32_CONTEXT_H_ |
36 | #define KERN_arm32_CONTEXT_H_ |
37 | 37 | ||
- | 38 | #include <align.h> |
|
- | 39 | #include <arch/stack.h> |
|
- | 40 | ||
38 | 41 | ||
39 | /* |
42 | /* |
40 | * Put one item onto the stack to support get_stack_base() and align it up. |
43 | * Put one item onto the stack to support get_stack_base() and align it up. |
41 | */ |
44 | */ |
42 | #define SP_DELTA 0 /*TODO*/ |
45 | #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT)) |
43 | 46 | ||
44 | 47 | ||
45 | #ifndef __ASM__ |
48 | #ifndef __ASM__ |
46 | 49 | ||
47 | #include <arch/types.h> |
50 | #include <arch/types.h> |