Rev 81 | Rev 180 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 81 | Rev 82 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #ifndef __ia32_CONTEXT_H__ |
29 | #ifndef __ia32_CONTEXT_H__ |
30 | #define __ia32_CONTEXT_H__ |
30 | #define __ia32_CONTEXT_H__ |
31 | 31 | ||
32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
33 | 33 | ||
- | 34 | /* |
|
- | 35 | * Both context_save() and context_restore() eat two doublewords from the stack. |
|
- | 36 | * First for pop of the saved register, second during ret instruction. |
|
- | 37 | */ |
|
34 | #define SP_DELTA 8 |
38 | #define SP_DELTA 8 |
35 | 39 | ||
36 | struct context { |
40 | struct context { |
37 | __u32 sp; |
41 | __u32 sp; |
38 | __u32 pc; |
42 | __u32 pc; |