Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1702 | Rev 1780 | ||
|---|---|---|---|
| Line 48... | Line 48... | ||
| 48 | 48 | ||
| 49 | /* We include only registers that must be preserved |
49 | /* We include only registers that must be preserved |
| 50 | * during function call |
50 | * during function call |
| 51 | */ |
51 | */ |
| 52 | struct context { |
52 | struct context { |
| 53 | __address sp; |
53 | uintptr_t sp; |
| 54 | __address pc; |
54 | uintptr_t pc; |
| 55 | 55 | ||
| 56 | __u64 rbx; |
56 | uint64_t rbx; |
| 57 | __u64 rbp; |
57 | uint64_t rbp; |
| 58 | 58 | ||
| 59 | __u64 r12; |
59 | uint64_t r12; |
| 60 | __u64 r13; |
60 | uint64_t r13; |
| 61 | __u64 r14; |
61 | uint64_t r14; |
| 62 | __u64 r15; |
62 | uint64_t r15; |
| 63 | 63 | ||
| 64 | ipl_t ipl; |
64 | ipl_t ipl; |
| 65 | } __attribute__ ((packed)); |
65 | } __attribute__ ((packed)); |
| 66 | 66 | ||
| 67 | #endif |
67 | #endif |