Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2083 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | 54 | ||
55 | /* |
55 | /* |
56 | * Save only registers that must be preserved across |
56 | * Save only registers that must be preserved across |
57 | * function calls. |
57 | * function calls. |
58 | */ |
58 | */ |
59 | struct context { |
59 | typedef struct { |
60 | uintptr_t sp; /* %o6 */ |
60 | uintptr_t sp; /* %o6 */ |
61 | uintptr_t pc; /* %o7 */ |
61 | uintptr_t pc; /* %o7 */ |
62 | uint64_t i0; |
62 | uint64_t i0; |
63 | uint64_t i1; |
63 | uint64_t i1; |
64 | uint64_t i2; |
64 | uint64_t i2; |
Line 74... | Line 74... | ||
74 | uint64_t l4; |
74 | uint64_t l4; |
75 | uint64_t l5; |
75 | uint64_t l5; |
76 | uint64_t l6; |
76 | uint64_t l6; |
77 | uint64_t l7; |
77 | uint64_t l7; |
78 | ipl_t ipl; |
78 | ipl_t ipl; |
79 | }; |
79 | } context_t; |
80 | 80 | ||
81 | #endif |
81 | #endif |
82 | 82 | ||
83 | /** @} |
83 | /** @} |
84 | */ |
84 | */ |