Rev 534 | Rev 990 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 534 | Rev 845 | ||
|---|---|---|---|
| Line 27... | Line 27... | ||
| 27 | */ |
27 | */ |
| 28 | 28 | ||
| 29 | #ifndef __ppc32_CONTEXT_H__ |
29 | #ifndef __ppc32_CONTEXT_H__ |
| 30 | #define __ppc32_CONTEXT_H__ |
30 | #define __ppc32_CONTEXT_H__ |
| 31 | 31 | ||
| - | 32 | #ifndef __ppc32_TYPES_H__ |
|
| 32 | #include <arch/types.h> |
33 | # include <arch/types.h> |
| - | 34 | #endif |
|
| 33 | 35 | ||
| 34 | #define SP_DELTA 8 |
36 | #define SP_DELTA 4 |
| 35 | 37 | ||
| 36 | struct context { |
38 | struct context { |
| 37 | __u32 r0; |
- | |
| 38 | __address sp; |
39 | __address sp; |
| - | 40 | __address pc; |
|
| - | 41 | ||
| 39 | __u32 r2; |
42 | __u32 r2; |
| 40 | __u32 r3; |
- | |
| 41 | __u32 r4; |
- | |
| 42 | __u32 r5; |
- | |
| 43 | __u32 r6; |
- | |
| 44 | __u32 r7; |
- | |
| 45 | __u32 r8; |
- | |
| 46 | __u32 r9; |
- | |
| 47 | __u32 r10; |
- | |
| 48 | __u32 r11; |
- | |
| 49 | __u32 r12; |
- | |
| 50 | __u32 r13; |
43 | __u32 r13; |
| 51 | __u32 r14; |
44 | __u32 r14; |
| 52 | __u32 r15; |
45 | __u32 r15; |
| 53 | __u32 r16; |
46 | __u32 r16; |
| 54 | __u32 r17; |
47 | __u32 r17; |
| Line 64... | Line 57... | ||
| 64 | __u32 r27; |
57 | __u32 r27; |
| 65 | __u32 r28; |
58 | __u32 r28; |
| 66 | __u32 r29; |
59 | __u32 r29; |
| 67 | __u32 r30; |
60 | __u32 r30; |
| 68 | __u32 r31; |
61 | __u32 r31; |
| - | 62 | ||
| 69 | __address pc; |
63 | __u32 cr; |
| - | 64 | ||
| 70 | ipl_t ipl; |
65 | ipl_t ipl; |
| 71 | } __attribute__ ((packed)); |
66 | } __attribute__ ((packed)); |
| 72 | 67 | ||
| 73 | #endif |
68 | #endif |