Rev 11 | Rev 46 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11 | Rev 45 | ||
---|---|---|---|
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 | struct fpu_context { |
|
- | 35 | __u8 fpu[512]; //FXSAVE & FXRSTOR storage area size |
|
- | 36 | }; |
|
- | 37 | ||
- | 38 | ||
34 | struct context { |
39 | struct context { |
35 | __u32 sp; |
40 | __u32 sp; |
36 | __u32 pc; |
41 | __u32 pc; |
37 | __u32 ebx; |
42 | __u32 ebx; |
38 | __u32 ecx; |
43 | __u32 ecx; |
39 | __u32 edx; |
44 | __u32 edx; |
40 | __u32 esi; |
45 | __u32 esi; |
41 | __u32 edi; |
46 | __u32 edi; |
42 | __u32 ebp; |
47 | __u32 ebp; |
43 | __u32 pri; |
48 | __u32 pri; |
- | 49 | struct fpu_context *fpu; |
|
44 | } __attribute__ ((packed)); |
50 | } __attribute__ ((packed)); |
45 | 51 | ||
46 | #endif |
52 | #endif |