Rev 906 | Rev 1066 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 906 | Rev 1019 | ||
|---|---|---|---|
| Line 32... | Line 32... | ||
| 32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
| 33 | 33 | ||
| 34 | #define ARCH_HAS_FPU |
34 | #define ARCH_HAS_FPU |
| 35 | #define FPU_CONTEXT_ALIGN 16 |
35 | #define FPU_CONTEXT_ALIGN 16 |
| 36 | 36 | ||
| - | 37 | void fpu_fxsr(void); |
|
| - | 38 | void fpu_fsr(void); |
|
| - | 39 | ||
| - | 40 | ||
| 37 | struct fpu_context { |
41 | struct fpu_context { |
| 38 | /* TODO: We need malloc that aligns structures on 16-byte boundary */ |
42 | /* TODO: We need malloc that aligns structures on 16-byte boundary */ |
| 39 | __u8 fpu[512]; /* FXSAVE & FXRSTOR storage area */ |
43 | __u8 fpu[512]; /* FXSAVE & FXRSTOR storage area */ |
| 40 | }; |
44 | }; |
| 41 | 45 | ||