/SPARTAN/trunk/arch/ia32/include/fpu_context.h |
---|
32,7 → 32,8 |
#include <arch/types.h> |
struct fpu_context { |
__u8 fpu[512]; /* FXSAVE & FXRSTOR storage area */ |
/* TODO: We need malloc that aligns structures on 16-byte boundary */ |
__u8 fpu[512+16]; /* FXSAVE & FXRSTOR storage area */ |
}; |
/SPARTAN/trunk/arch/ia32/src/fpu_context.c |
---|
54,7 → 54,6 |
"fnsave %0" |
: "=m"(*fctx) |
); |
return; |
} |
void fpu_lazy_context_restore(fpu_context_t *fctx) |
63,7 → 62,6 |
"frstor %0" |
: "=m"(*fctx) |
); |
return; |
} |
void fpu_init(void) |