Rev 2357 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2357 | Rev 2464 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | 44 | ||
45 | #ifndef __ASM__ |
45 | #ifndef __ASM__ |
46 | 46 | ||
47 | #include <arch/types.h> |
47 | #include <arch/types.h> |
48 | 48 | ||
49 | /** Thread context containing registers that must be preserved across function calls. */ |
49 | /** Thread context containing registers that must be preserved across function |
- | 50 | * calls. |
|
- | 51 | */ |
|
50 | typedef struct { |
52 | typedef struct { |
51 | uint32_t cpu_mode; |
53 | uint32_t cpu_mode; |
52 | uintptr_t sp; |
54 | uintptr_t sp; |
53 | uintptr_t pc; |
55 | uintptr_t pc; |
54 | 56 |