Subversion Repositories HelenOS-historic

Rev

Rev 534 | Rev 1066 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 534 Rev 906
Line 29... Line 29...
29
#ifndef __ia32_FPU_CONTEXT_H__
29
#ifndef __ia32_FPU_CONTEXT_H__
30
#define __ia32_FPU_CONTEXT_H__
30
#define __ia32_FPU_CONTEXT_H__
31
 
31
 
32
#include <arch/types.h>
32
#include <arch/types.h>
33
 
33
 
-
 
34
#define ARCH_HAS_FPU
-
 
35
#define FPU_CONTEXT_ALIGN 16
-
 
36
 
34
struct fpu_context {
37
struct fpu_context {
35
    /* TODO: We need malloc that aligns structures on 16-byte boundary */
38
    /* TODO: We need malloc that aligns structures on 16-byte boundary */
36
    __u8 fpu[512+16];       /* FXSAVE & FXRSTOR storage area */
39
    __u8 fpu[512];      /* FXSAVE & FXRSTOR storage area */
37
};
40
};
38
 
41
 
39
 
42
 
40
#endif
43
#endif