Rev 1769 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1769 | Rev 1780 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | /* |
53 | /* |
54 | * Only save registers that must be preserved across |
54 | * Only save registers that must be preserved across |
55 | * function calls. |
55 | * function calls. |
56 | */ |
56 | */ |
57 | struct context { |
57 | struct context { |
58 | __address sp; |
58 | uintptr_t sp; |
59 | __address pc; |
59 | uintptr_t pc; |
60 | 60 | ||
61 | __u32 s0; |
61 | uint32_t s0; |
62 | __u32 s1; |
62 | uint32_t s1; |
63 | __u32 s2; |
63 | uint32_t s2; |
64 | __u32 s3; |
64 | uint32_t s3; |
65 | __u32 s4; |
65 | uint32_t s4; |
66 | __u32 s5; |
66 | uint32_t s5; |
67 | __u32 s6; |
67 | uint32_t s6; |
68 | __u32 s7; |
68 | uint32_t s7; |
69 | __u32 s8; |
69 | uint32_t s8; |
70 | __u32 gp; |
70 | uint32_t gp; |
71 | 71 | ||
72 | ipl_t ipl; |
72 | ipl_t ipl; |
73 | }; |
73 | }; |
74 | 74 | ||
75 | #endif /* __ASM__ */ |
75 | #endif /* __ASM__ */ |