Rev 2329 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2329 | Rev 2345 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | #include <arch/types.h> |
48 | #include <arch/types.h> |
49 | 49 | ||
50 | 50 | ||
51 | /* Structure containing registers that must be preserved across function calls. */ |
51 | /* Structure containing registers that must be preserved across function calls. */ |
52 | typedef struct { |
52 | typedef struct { |
- | 53 | uint32_t cpu_mode; |
|
53 | uintptr_t sp; |
54 | uintptr_t sp; |
54 | uintptr_t pc; |
55 | uintptr_t pc; |
55 | 56 | ||
56 | uint32_t r4; |
57 | uint32_t r4; |
57 | uint32_t r5; |
58 | uint32_t r5; |
Line 59... | Line 60... | ||
59 | uint32_t r7; |
60 | uint32_t r7; |
60 | uint32_t r8; |
61 | uint32_t r8; |
61 | uint32_t r9; |
62 | uint32_t r9; |
62 | uint32_t r10; |
63 | uint32_t r10; |
63 | uint32_t r11; |
64 | uint32_t r11; |
64 | 65 | ||
65 | ipl_t ipl; |
66 | ipl_t ipl; |
66 | } context_t; |
67 | } context_t; |
67 | 68 | ||
68 | 69 | ||
69 | #endif /* __ASM__ */ |
70 | #endif /* __ASM__ */ |